------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\Projects\Private Member Bills\PSRM Replication files\PSRM_replication.log
  log type:  text
 opened on:  22 Nov 2016, 00:06:40

. 
. use "PSRM_table1.dta", clear

. 
. *** Data for FIGURE 1
. tab placed_ballot if govt==1 & minister==0 & ranked==0

     Did MP |
    place a |
bill on the |
    ballot? |
      1=Yes |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |      2,014       79.60       79.60
          1 |        516       20.40      100.00
------------+-----------------------------------
      Total |      2,530      100.00

. tab placed_ballot if support_party==1 & minister==0 & ranked==0

     Did MP |
    place a |
bill on the |
    ballot? |
      1=Yes |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |        151       15.04       15.04
          1 |        853       84.96      100.00
------------+-----------------------------------
      Total |      1,004      100.00

. tab placed_ballot if govt==0 & support_party==0 & minister==0 & ranked==0

     Did MP |
    place a |
bill on the |
    ballot? |
      1=Yes |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |      2,093       54.28       54.28
          1 |      1,763       45.72      100.00
------------+-----------------------------------
      Total |      3,856      100.00

. tab newbill if govt==1 & minister==0 & ranked==0

        \sc |
 No.~Unique |
       Bill |
  Proposals |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |      2,427       95.93       95.93
          1 |        103        4.07      100.00
------------+-----------------------------------
      Total |      2,530      100.00

. tab newbill if support_party==1 & minister==0 & ranked==0

        \sc |
 No.~Unique |
       Bill |
  Proposals |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |        807       80.38       80.38
          1 |        197       19.62      100.00
------------+-----------------------------------
      Total |      1,004      100.00

. tab newbill if govt==0 & support_party==0 & minister==0 & ranked==0

        \sc |
 No.~Unique |
       Bill |
  Proposals |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |      3,508       90.98       90.98
          1 |        348        9.02      100.00
------------+-----------------------------------
      Total |      3,856      100.00

. *** Share of placed and new bills are entered manually in PMB_figures.tex
. 
. **** Create data for histogram in FIGURE 2
. tab attempts if attempts>0 & sh_a~=. & ranked_member~=1, matcell(attempts)

   attempts |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |         18        5.68        5.68
          2 |         15        4.73       10.41
          3 |         18        5.68       16.09
          4 |         16        5.05       21.14
          5 |         15        4.73       25.87
          6 |         18        5.68       31.55
          7 |         12        3.79       35.33
          8 |         13        4.10       39.43
          9 |         15        4.73       44.16
         10 |         15        4.73       48.90
         11 |         16        5.05       53.94
         12 |         25        7.89       61.83
         13 |         54       17.03       78.86
         14 |          6        1.89       80.76
         15 |          9        2.84       83.60
         16 |         20        6.31       89.91
         17 |         22        6.94       96.85
         18 |         10        3.15      100.00
------------+-----------------------------------
      Total |        317      100.00

. tab unique if unique>0 & sh_a~=. & ranked_member~=1, matcell(unique)

     unique |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |        153       48.26       48.26
          2 |         83       26.18       74.45
          3 |         41       12.93       87.38
          4 |         19        5.99       93.38
          5 |         13        4.10       97.48
          6 |          3        0.95       98.42
          7 |          3        0.95       99.37
          8 |          2        0.63      100.00
------------+-----------------------------------
      Total |        317      100.00

. matrix list attempts

attempts[18,1]
     c1
 r1  18
 r2  15
 r3  18
 r4  16
 r5  15
 r6  18
 r7  12
 r8  13
 r9  15
r10  15
r11  16
r12  25
r13  54
r14   6
r15   9
r16  20
r17  22
r18  10

. matrix list unique

unique[8,1]
     c1
r1  153
r2   83
r3   41
r4   19
r5   13
r6    3
r7    3
r8    2

. 
. scalar j=rowsof(attempts)-rowsof(unique)

. local j=rowsof(attempts)

. display `j'
18

. matrix fill=J(j,1,.)

. matrix unique=unique\fill

. matrix c=J(18,1,.)

. forvalues i=1/`j' {
  2.         matrix c[`i',1]=`i'
  3.         if (unique[`i',1]>100 & unique[`i',1]~=.) {
  4.                 matrix unique[`i',1]=70
  5.                 }
  6.         if (unique[`i',1]>70 & unique[`i',1]~=.) {
  7.                 matrix unique[`i',1]=65
  8.                 }
  9.         }

. matrix nobills=c,attempts,unique

. matrix list nobills

nobills[18,3]
     c1  c1  c1
 r1   1  18  70
 r2   2  15  65
 r3   3  18  41
 r4   4  16  19
 r5   5  15  13
 r6   6  18   3
 r7   7  12   3
 r8   8  13   2
 r9   9  15   .
r10  10  15   .
r11  11  16   .
r12  12  25   .
r13  13  54   .
r14  14   6   .
r15  15   9   .
r16  16  20   .
r17  17  22   .
r18  18  10   .

. matrix colnames nobills = no attempts1 unique1

. matrix list nobills

nobills[18,3]
            no  attempts1    unique1
 r1          1         18         70
 r2          2         15         65
 r3          3         18         41
 r4          4         16         19
 r5          5         15         13
 r6          6         18          3
 r7          7         12          3
 r8          8         13          2
 r9          9         15          .
r10         10         15          .
r11         11         16          .
r12         12         25          .
r13         13         54          .
r14         14          6          .
r15         15          9          .
r16         16         20          .
r17         17         22          .
r18         18         10          .

. * Saves data in CSV file to used by PMB_figures.tex to create histogram
. mat2txt2 nobills using "hist_attemptNEW.csv", replace comma
Open output file: shellout using "hist_attemptNEW.csv"
View output file: view "hist_attemptNEW.csv"

. 
. *********************************************************************************
. *FIGURE 3: Histogram of margin for placed a bill on the ballot or not
. *********************************************************************************
. twoway (histogram margin if placed_b==0 & cvs1~=. & ranked==0, color(green)) ///
>  (histogram margin if placed_b==1 & cvs1~=. & ranked==0,  fcolor(none) lcolor(black)), legend(order(1 "No" 2 "Ye
> s" ))

. * Output for Latex
. twoway__histogram_gen margin if placed_b==0 & cvs1~=. & ranked==0, start(-.732) width(.04) gen(dist_m_0 xm0)

. twoway__histogram_gen margin if placed_b==1 & cvs1~=. & ranked==0, start(-.732) width(.04) gen(dist_m_1 xm1) 

. matrix margingraph=J(41,4,.)

. forvalues i=1/36 {
  2.         matrix margingraph[`i',1]=xm0[`i']
  3.         matrix margingraph[`i',2]=dist_m_0[`i']
  4.         matrix margingraph[`i',3]=xm1[`i']
  5.         matrix margingraph[`i',4]=dist_m_1[`i']
  6.         }

. matrix list margingraph

margingraph[41,4]
             c1          c2          c3          c4
 r1  -.67199999   .00653937  -.71200001   .20168363
 r2  -.63200003   .05231494  -.67199999   .08768853
 r3  -.59200001   .13078734  -.63200003   .10522623
 r4  -.55199999   .03269684  -.59200001   .75412136
 r5  -.51200002    .1373267  -.55199999   .63135743
 r6       -.472     .320429  -.51200002   .76289022
 r7  -.43200001   .26811406       -.472   1.1136444
 r8  -.39199999   .62123984  -.43200001   1.0434935
 r9       -.352   .65393668  -.39199999   2.1045246
r10  -.31200001   .75856656       -.352   2.4465101
r11  -.27200001     .320429  -.31200001   .96457386
r12  -.23199999   .58200365  -.27200001   .99088037
r13       -.192   .80434215  -.23199999   .81550336
r14       -.152   1.0659168       -.192   .67520165
r15       -.112   .52314937       -.152   .46474922
r16       -.072   .69971228       -.112   .41213608
r17       -.032   .67355478       -.072   .56120658
r18        .008   1.1247711       -.032   .85057873
r19        .048   1.9356526        .008   .90319186
r20        .088   1.4517394        .048   .85934758
r21   .12800001   1.2424797        .088   1.2101017
r22        .168   2.1906879   .12800001   1.2802526
r23        .208   2.2560816        .168   1.2890214
r24        .248   1.9029558        .208   .56120658
r25   .28799999   1.2228616        .248   .81550336
r26   .32800001   .96782631   .28799999   .62258857
r27        .368   .71933037   .32800001   .69273937
r28   .40799999   .62777925        .368   1.0347247
r29   .44800001   .64739734   .40799999   .30690986
r30   .48800001   .45775568   .44800001   .23675904
r31        .528   .11116924   .48800001   .08768853
r32   .56800002   .23541722        .648   .11399509
r33   .60799998   .14386608  -.73199999           .
r34        .648   .11116924           .           .
r35  -.73199999           .           .           .
r36           .           .           .           .
r37           .           .           .           .
r38           .           .           .           .
r39           .           .           .           .
r40           .           .           .           .
r41           .           .           .           .

. matrix colnames margingraph = xm0 distm0 xm1 distm1

. * Saves data in CSV file to used by PMB_figures.tex to create histogram
. mat2txt2 margingraph using "margin_graph_by_placedballots.csv", replace comma
Open output file: shellout using "margin_graph_by_placedballots.csv"
View output file: view "margin_graph_by_placedballots.csv"

.  
. *********************************************************************************
. *Figure 4: Histogram of list safety for placed a bill on the ballot or not
. *********************************************************************************
. twoway (histogram list_margin if placed_b==0 & listseat~=., color(green)) ///
>  (histogram list_margin if placed_b==1 & listseat~=.,  fcolor(none) lcolor(black)), legend(order(1 "No" 2 "Yes" 
> ))

. * Output for Latex
. twoway__histogram_gen list_margin if placed_b==0 & listseat~=.,  start(-34) width(2) gen(dist_lm_0 x0)

. twoway__histogram_gen list_margin if placed_b==1 & listseat~=.,  start(-34) width(2) gen(dist_lm_1 x1) 

. matrix listgraph=J(41,4,.)

. forvalues i=1/41 {
  2.         matrix listgraph[`i',1]=x0[`i']
  3.         matrix listgraph[`i',2]=dist_lm_0[`i']
  4.         matrix listgraph[`i',3]=x1[`i']
  5.         matrix listgraph[`i',4]=dist_lm_1[`i']
  6.         }

. matrix list listgraph

listgraph[41,4]
            c1         c2         c3         c4
 r1        -33  .00152139        -31  .00146056
 r2        -31  .00080544        -27  .00292113
 r3        -29  .00152139        -25   .0021097
 r4        -27  .00107392        -23   .0021097
 r5        -19  .00286379        -19  .00567997
 r6        -17  .00313227        -15   .0021097
 r7        -13  .00528011        -13  .00519312
 r8        -11  .00742796        -11  .00811425
 r9         -9  .00671201         -9  .01590393
r10         -7  .00841239         -7   .0086011
r11         -5  .00340075         -5  .00064914
r12         -3  .00322176         -3   .0053554
r13         -1   .0232683         -1  .01428108
r14          1  .02908538          1  .08812074
r15          3  .02819044          3  .07578708
r16          5  .02783247          5  .06361571
r17          7  .02720601          7  .05144434
r18          9  .02550564          9  .02888672
r19         11  .01861464         11  .02547874
r20         13   .0205835         13  .01963648
r21         15  .01709325         15   .0129828
r22         17  .01682477         17  .01460565
r23         19  .02067299         19  .00762739
r24         21  .01933059         21  .00519312
r25         23  .01843565         23  .00746511
r26         25  .01592984         25  .00600454
r27         27   .0191516         27  .00032457
r28         29  .01897261         29  .00048685
r29         31  .01727224         31  .00178513
r30         33  .01691427         33  .00032457
r31         35  .01360301         35  .00064914
r32         37  .01118668         37  .00438169
r33         39   .0123501         39  .00292113
r34         41  .00814391         41  .00503083
r35         43  .00841239         43  .00275884
r36         45  .00528011        -34          .
r37         47  .00384822          .          .
r38         49  .00447467          .          .
r39         51  .00214784          .          .
r40         53  .00214784          .          .
r41         55  .00214784          .          .

. matrix colnames listgraph = x0 distlm0 x1 distlm1

. * Saves data in CSV file to used by PMB_figures.tex to create histogram
. mat2txt2 listgraph using "list_graph_by_placedballots.csv", replace comma
Open output file: shellout using "list_graph_by_placedballots.csv"
View output file: view "list_graph_by_placedballots.csv"

. 
. 
. **** Logit Models
. 
. logit placed_ballot c.margin##c.list_margin smd_only list_only i.govt support ranked_member seniority timeleft i
> .year if minister==0, cluster(id)

Iteration 0:   log pseudolikelihood = -5144.7968  
Iteration 1:   log pseudolikelihood = -3710.4286  
Iteration 2:   log pseudolikelihood = -3695.4879  
Iteration 3:   log pseudolikelihood = -3695.3813  
Iteration 4:   log pseudolikelihood = -3695.3813  

Logistic regression                             Number of obs     =      7,567
                                                Wald chi2(14)     =     326.84
                                                Prob > chi2       =     0.0000
Log pseudolikelihood = -3695.3813               Pseudo R2         =     0.2817

                                             (Std. Err. adjusted for 515 clusters in id)
----------------------------------------------------------------------------------------
                       |               Robust
         placed_ballot |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-----------------------+----------------------------------------------------------------
                margin |  -1.667027    .429862    -3.88   0.000    -2.509541   -.8245127
           list_margin |   -.025938   .0088478    -2.93   0.003    -.0432794   -.0085965
                       |
c.margin#c.list_margin |   .0737959   .0339831     2.17   0.030     .0071903    .1404015
                       |
              smd_only |   -1.08895   .3541042    -3.08   0.002    -1.782982   -.3949186
             list_only |  -.2331186   .2913191    -0.80   0.424    -.8040936    .3378565
                1.govt |  -1.314776   .2023853    -6.50   0.000    -1.711444   -.9181083
         support_party |   1.827363   .2380273     7.68   0.000     1.360838    2.293888
         ranked_member |   -.303247   .7308017    -0.41   0.678    -1.735592    1.129098
             seniority |   .0251575   .0160351     1.57   0.117    -.0062707    .0565858
              timeleft |  -.0006983   .0002293    -3.04   0.002    -.0011478   -.0002488
                       |
                  year |
                 2002  |  -.6930827   .2754588    -2.52   0.012    -1.232972   -.1531934
                 2005  |  -.4092117   .2721031    -1.50   0.133    -.9425239    .1241005
                 2008  |  -.1907628   .2680622    -0.71   0.477    -.7161551    .3346295
                 2011  |   2.092839   .2648964     7.90   0.000     1.573652    2.612027
                       |
                 _cons |   .3208097   .2742663     1.17   0.242    -.2167424    .8583617
----------------------------------------------------------------------------------------

. 
. logit placed_ballot c.margin c.list_margin c.margin#c.list_margin smd_only list_only i.govt c.margin#i.govt supp
> ort ranked_member seniority timeleft i.year if minister==0, cluster(id)

Iteration 0:   log pseudolikelihood = -5144.7968  
Iteration 1:   log pseudolikelihood = -3703.0754  
Iteration 2:   log pseudolikelihood = -3682.9164  
Iteration 3:   log pseudolikelihood = -3682.7177  
Iteration 4:   log pseudolikelihood = -3682.7177  

Logistic regression                             Number of obs     =      7,567
                                                Wald chi2(15)     =     320.59
                                                Prob > chi2       =     0.0000
Log pseudolikelihood = -3682.7177               Pseudo R2         =     0.2842

                                             (Std. Err. adjusted for 515 clusters in id)
----------------------------------------------------------------------------------------
                       |               Robust
         placed_ballot |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-----------------------+----------------------------------------------------------------
                margin |  -1.244148   .4780905    -2.60   0.009    -2.181188   -.3071076
           list_margin |  -.0250563   .0089066    -2.81   0.005    -.0425128   -.0075997
                       |
c.margin#c.list_margin |   .0750248   .0339104     2.21   0.027     .0085617    .1414879
                       |
              smd_only |   -1.11751   .3616988    -3.09   0.002    -1.826427   -.4085933
             list_only |  -.2777746   .2945258    -0.94   0.346    -.8550345    .2994854
                1.govt |   -1.28063   .2004652    -6.39   0.000    -1.673535   -.8877259
                       |
         govt#c.margin |
                    1  |  -1.304063   .7087074    -1.84   0.066    -2.693104    .0849778
                       |
         support_party |   1.938451   .2437629     7.95   0.000     1.460685    2.416218
         ranked_member |  -.2859363   .7365585    -0.39   0.698    -1.729564    1.157692
             seniority |   .0209468   .0161174     1.30   0.194    -.0106427    .0525364
              timeleft |  -.0006989   .0002299    -3.04   0.002    -.0011495   -.0002483
                       |
                  year |
                 2002  |   -.682528   .2754315    -2.48   0.013    -1.222364   -.1426922
                 2005  |  -.4605433   .2739305    -1.68   0.093    -.9974372    .0763506
                 2008  |  -.1923918   .2678636    -0.72   0.473    -.7173949    .3326113
                 2011  |   2.144968   .2707243     7.92   0.000     1.614358    2.675578
                       |
                 _cons |   .3550267   .2754768     1.29   0.197    -.1848979    .8949512
----------------------------------------------------------------------------------------

. 
. 
. * Get data for interaction margin plots
. margins, dydx(list_margin) at(margin=(-.3(.05).3))

Average marginal effects                        Number of obs     =      7,567
Model VCE    : Robust

Expression   : Pr(placed_ballot), predict()
dy/dx w.r.t. : list_margin

1._at        : margin          =         -.3

2._at        : margin          =        -.25

3._at        : margin          =         -.2

4._at        : margin          =        -.15

5._at        : margin          =         -.1

6._at        : margin          =        -.05

7._at        : margin          =           0

8._at        : margin          =         .05

9._at        : margin          =          .1

10._at       : margin          =         .15

11._at       : margin          =          .2

12._at       : margin          =         .25

13._at       : margin          =          .3

------------------------------------------------------------------------------
             |            Delta-method
             |      dy/dx   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
list_margin  |
         _at |
          1  |  -.0080346    .002519    -3.19   0.001    -.0129717   -.0030974
          2  |  -.0073851    .002319    -3.18   0.001    -.0119303   -.0028399
          3  |  -.0067338   .0021214    -3.17   0.002    -.0108917    -.002576
          4  |  -.0060824     .00193    -3.15   0.002    -.0098652   -.0022996
          5  |  -.0054323   .0017501    -3.10   0.002    -.0088624   -.0020021
          6  |  -.0047846   .0015883    -3.01   0.003    -.0078977   -.0016716
          7  |  -.0041407   .0014533    -2.85   0.004    -.0069891   -.0012922
          8  |  -.0035013   .0013553    -2.58   0.010    -.0061576    -.000845
          9  |  -.0028674   .0013042    -2.20   0.028    -.0054236   -.0003113
         10  |    -.00224   .0013062    -1.71   0.086    -.0048001    .0003202
         11  |  -.0016197   .0013612    -1.19   0.234    -.0042876    .0010481
         12  |  -.0010076   .0014623    -0.69   0.491    -.0038736    .0018584
         13  |  -.0004044   .0015994    -0.25   0.800    -.0035392    .0027305
------------------------------------------------------------------------------

. 
. matrix m_lm=r(b)'

. matrix v=vecdiag(r(V))'

. matmap v se, map(sqrt(@))

. matrix m_lm_u=m_lm+1.96*se

. matrix m_lm_l=m_lm-1.96*se

. matrix at=r(at)

. matrix at=at[1..13,"margin"]

. matrix margins_lm=at,m_lm,m_lm_u,m_lm_l

. 
. margins, dydx(margin) at(list_margin=(-30(5)30))

Average marginal effects                        Number of obs     =      7,567
Model VCE    : Robust

Expression   : Pr(placed_ballot), predict()
dy/dx w.r.t. : margin

1._at        : list_margin     =         -30

2._at        : list_margin     =         -25

3._at        : list_margin     =         -20

4._at        : list_margin     =         -15

5._at        : list_margin     =         -10

6._at        : list_margin     =          -5

7._at        : list_margin     =           0

8._at        : list_margin     =           5

9._at        : list_margin     =          10

10._at       : list_margin     =          15

11._at       : list_margin     =          20

12._at       : list_margin     =          25

13._at       : list_margin     =          30

------------------------------------------------------------------------------
             |            Delta-method
             |      dy/dx   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
margin       |
         _at |
          1  |  -.5825395   .1506632    -3.87   0.000     -.877834    -.287245
          2  |  -.5375966   .1408501    -3.82   0.000    -.8136576   -.2615355
          3  |  -.4890394   .1292842    -3.78   0.000    -.7424317    -.235647
          4  |  -.4368126    .115695    -3.78   0.000    -.6635707   -.2100545
          5  |  -.3810606   .1001483    -3.80   0.000    -.5773476   -.1847736
          6  |  -.3221806   .0834383    -3.86   0.000    -.4857166   -.1586445
          7  |  -.2608215   .0677559    -3.85   0.000    -.3936206   -.1280223
          8  |  -.1978095    .057608    -3.43   0.001    -.3107191      -.0849
          9  |  -.1340222   .0586121    -2.29   0.022    -.2488998   -.0191447
         10  |   -.070281   .0711739    -0.99   0.323    -.2097793    .0692172
         11  |  -.0073388   .0903312    -0.08   0.935    -.1843847    .1697071
         12  |   .0540209   .1116265     0.48   0.628    -.1647631    .2728048
         13  |   .1128462   .1320535     0.85   0.393    -.1459738    .3716662
------------------------------------------------------------------------------

. matrix m_m=r(b)'

. matrix v=vecdiag(r(V))'

. matmap v se, map(sqrt(@))

. matrix m_m_u=m_m+1.96*se

. matrix m_m_l=m_m-1.96*se

. matrix at=r(at)

. matrix at=at[1..13,"list_margin"]

. matrix margins_lm=margins_lm,at,m_m,m_m_u,m_m_l

. 
. matrix colnames margins_lm = margin m_lm m_lm_u m_lm_l listmargin m_m m_m_u m_m_l

. matrix list margins_lm

margins_lm[13,8]
            margin        m_lm      m_lm_u      m_lm_l  listmargin         m_m       m_m_u       m_m_l
 1._at         -.3  -.00803456  -.00309734  -.01297177         -30  -.58253948  -.28723958  -.87783939
 2._at        -.25  -.00738508  -.00283981  -.01193035         -25  -.53759657  -.26153044   -.8136627
 3._at         -.2  -.00673382  -.00257588  -.01089176         -20  -.48903935  -.23564235  -.74243636
 4._at        -.15   -.0060824   -.0022995  -.00986529         -15  -.43681259  -.21005034  -.66357484
 5._at         -.1  -.00543225  -.00200206  -.00886245         -10  -.38106063     -.18477  -.57735125
 6._at        -.05  -.00478464  -.00167158  -.00789771          -5  -.32218056  -.15864148  -.48571964
 7._at           0  -.00414066  -.00129219  -.00698914           0  -.26082146   -.1280199  -.39362301
 8._at         .05  -.00350129  -.00084492  -.00615767           5  -.19780954  -.08489793  -.31072115
 9._at          .1  -.00286744  -.00031128   -.0054236          10  -.13402223  -.01914256   -.2489019
10._at         .15  -.00223997   .00032022  -.00480015          15  -.07028103   .06921976  -.20978181
11._at          .2  -.00161973   .00104815  -.00428761          20  -.00733881   .16971038    -.184388
12._at         .25  -.00100758   .00185847  -.00387363          25   .05402085   .27280881  -.16476711
13._at          .3  -.00040436   .00273053  -.00353924          30   .11284619   .37167098   -.1459786

. * Saves data in CSV file to used by PMB_figures.tex to create histogram
. mat2txt2 margins_lm using "margins_m_lm_sen.csv", comma replace
Open output file: shellout using "margins_m_lm_sen.csv"
View output file: view "margins_m_lm_sen.csv"

. 
. 
. logit newbill c.margin##c.list_margin smd_only list_only i.govt support ranked_member seniority timeleft drawn_p
> rev firstballot i.year if minister==0, cluster(id)

Iteration 0:   log pseudolikelihood = -2216.7239  
Iteration 1:   log pseudolikelihood = -2024.9414  
Iteration 2:   log pseudolikelihood = -1800.5514  
Iteration 3:   log pseudolikelihood = -1786.9648  
Iteration 4:   log pseudolikelihood = -1786.8958  
Iteration 5:   log pseudolikelihood = -1786.8958  

Logistic regression                             Number of obs     =      7,567
                                                Wald chi2(16)     =     708.70
                                                Prob > chi2       =     0.0000
Log pseudolikelihood = -1786.8958               Pseudo R2         =     0.1939

                                             (Std. Err. adjusted for 515 clusters in id)
----------------------------------------------------------------------------------------
                       |               Robust
               newbill |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-----------------------+----------------------------------------------------------------
                margin |  -.9731719   .2107391    -4.62   0.000    -1.386213   -.5601308
           list_margin |  -.0130366   .0050436    -2.58   0.010    -.0229219   -.0031512
                       |
c.margin#c.list_margin |   .0200246   .0175498     1.14   0.254    -.0143724    .0544216
                       |
              smd_only |  -.5721325   .2906509    -1.97   0.049    -1.141798   -.0024672
             list_only |  -.0945612   .1790311    -0.53   0.597    -.4454557    .2563333
                1.govt |   -.823181   .1221988    -6.74   0.000    -1.062686   -.5836757
         support_party |   .9480224    .146522     6.47   0.000     .6608446      1.2352
         ranked_member |  -.9170905   .5318524    -1.72   0.085    -1.959502    .1253211
             seniority |   .0191036   .0090034     2.12   0.034     .0014572      .03675
              timeleft |   .0000931   .0002234     0.42   0.677    -.0003447    .0005309
            drawn_prev |   1.512314   .1693056     8.93   0.000     1.180481    1.844147
           firstballot |   2.516881   .1399279    17.99   0.000     2.242627    2.791134
                       |
                  year |
                 2002  |  -.1366778   .1981013    -0.69   0.490    -.5249492    .2515937
                 2005  |   -.310306   .1846054    -1.68   0.093     -.672126     .051514
                 2008  |    .050424    .161157     0.31   0.754     -.265438     .366286
                 2011  |   1.006417   .1648748     6.10   0.000      .683268    1.329565
                       |
                 _cons |  -3.110207   .2364529   -13.15   0.000    -3.573646   -2.646768
----------------------------------------------------------------------------------------

. 
. logit newbill c.margin c.list_margin c.margin#c.list_margin smd_only list_only i.govt c.margin#i.govt support ra
> nked_member seniority timeleft drawn_prev firstballot i.year if minister==0,  cluster(id)

Iteration 0:   log pseudolikelihood = -2216.7239  
Iteration 1:   log pseudolikelihood = -2025.6388  
Iteration 2:   log pseudolikelihood = -1800.4528  
Iteration 3:   log pseudolikelihood = -1786.7612  
Iteration 4:   log pseudolikelihood = -1786.6835  
Iteration 5:   log pseudolikelihood = -1786.6835  

Logistic regression                             Number of obs     =      7,567
                                                Wald chi2(17)     =     704.91
                                                Prob > chi2       =     0.0000
Log pseudolikelihood = -1786.6835               Pseudo R2         =     0.1940

                                             (Std. Err. adjusted for 515 clusters in id)
----------------------------------------------------------------------------------------
                       |               Robust
               newbill |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-----------------------+----------------------------------------------------------------
                margin |  -.9066495   .2390943    -3.79   0.000    -1.375266   -.4380333
           list_margin |   -.012753   .0050232    -2.54   0.011    -.0225982   -.0029077
                       |
c.margin#c.list_margin |   .0206062   .0175655     1.17   0.241    -.0138215     .055034
                       |
              smd_only |  -.5635183   .2907869    -1.94   0.053     -1.13345    .0064136
             list_only |  -.1053516   .1792124    -0.59   0.557    -.4566015    .2458983
                1.govt |   -.820042   .1213882    -6.76   0.000    -1.057958   -.5821256
                       |
         govt#c.margin |
                    1  |  -.2783382   .3877113    -0.72   0.473    -1.038238     .481562
                       |
         support_party |   .9677187   .1509332     6.41   0.000     .6718951    1.263542
         ranked_member |  -.9146644   .5299385    -1.73   0.084    -1.953325    .1239961
             seniority |   .0182604   .0090239     2.02   0.043     .0005739     .035947
              timeleft |   .0000962   .0002233     0.43   0.667    -.0003415    .0005339
            drawn_prev |   1.507088   .1700127     8.86   0.000     1.173869    1.840306
           firstballot |   2.515227   .1398642    17.98   0.000     2.241098    2.789356
                       |
                  year |
                 2002  |  -.1347136   .1981324    -0.68   0.497     -.523046    .2536188
                 2005  |  -.3150293   .1849493    -1.70   0.089    -.6775233    .0474646
                 2008  |   .0516345   .1614545     0.32   0.749    -.2648105    .3680794
                 2011  |   1.013444    .166514     6.09   0.000     .6870826    1.339806
                       |
                 _cons |  -3.104858   .2358525   -13.16   0.000     -3.56712   -2.642595
----------------------------------------------------------------------------------------

. 
. 
. ******************************************
. *** END:  TABLE 1 & DATA FOR FIGURE 1-5
. ******************************************
. 
. 
. ***********************************
. *** TABLE 2 & DATA FOR FIGURE 6
. ***********************************
. 
. use "PSRM_table2.dta", clear

. 
. *Models with LR-dist - in paper (table 3 -- no. 2 in vers. w/o list placement)
. ologit approvemp attempts lrdist jelecmpshand likeMpParty ranked_member i.surveyyear if  minister==0 

Iteration 0:   log likelihood =  -9601.711  
Iteration 1:   log likelihood = -8443.2177  
Iteration 2:   log likelihood = -8392.8252  
Iteration 3:   log likelihood = -8392.7551  
Iteration 4:   log likelihood = -8392.7551  

Ordered logistic regression                     Number of obs     =      7,102
                                                LR chi2(8)        =    2417.91
                                                Prob > chi2       =     0.0000
Log likelihood = -8392.7551                     Pseudo R2         =     0.1259

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
     attempts |   .0327445   .0048031     6.82   0.000     .0233307    .0421584
       lrdist |  -.0218082   .0116617    -1.87   0.061    -.0446647    .0010482
 jelecmpshand |   -1.18132   .0347326   -34.01   0.000    -1.249395   -1.113246
  likeMpParty |   .1942291   .0097387    19.94   0.000     .1751416    .2133165
ranked_member |  -.1386116   .1008634    -1.37   0.169    -.3363003     .059077
              |
   surveyyear |
        2002  |   .0666296   .0585274     1.14   0.255    -.0480819    .1813412
        2005  |  -.1580105   .0641439    -2.46   0.014    -.2837303   -.0322908
        2011  |   .1385626   .0667928     2.07   0.038     .0076512     .269474
--------------+----------------------------------------------------------------
        /cut1 |   -5.83641   .1600446                     -6.150092   -5.522728
        /cut2 |  -4.166347   .1482187                      -4.45685   -3.875843
        /cut3 |  -1.799307   .1412285                      -2.07611   -1.522504
        /cut4 |   .6553017   .1406363                      .3796596    .9309438
-------------------------------------------------------------------------------

. *** Calculate p-values for thresholds
. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 3.65e-291
P-value for cutoff 2: 7.51e-174
P-value for cutoff 3: 3.526e-37
P-value for cutoff 4: 3.169e-06

. 
. ologit approvemp unique lrdist jelecmpshand likeMpParty ranked_member i.surveyyear if  minister==0 

Iteration 0:   log likelihood =  -9601.711  
Iteration 1:   log likelihood = -8449.7728  
Iteration 2:   log likelihood =  -8400.039  
Iteration 3:   log likelihood = -8399.9696  
Iteration 4:   log likelihood = -8399.9696  

Ordered logistic regression                     Number of obs     =      7,102
                                                LR chi2(8)        =    2403.48
                                                Prob > chi2       =     0.0000
Log likelihood = -8399.9696                     Pseudo R2         =     0.1252

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
       unique |   .1417573   .0250148     5.67   0.000     .0927291    .1907855
       lrdist |  -.0218032   .0116608    -1.87   0.062    -.0446579    .0010515
 jelecmpshand |  -1.181897   .0347371   -34.02   0.000    -1.249981   -1.113814
  likeMpParty |   .1946834   .0097454    19.98   0.000     .1755827    .2137841
ranked_member |  -.1493757   .1007971    -1.48   0.138    -.3469344    .0481831
              |
   surveyyear |
        2002  |   .0946257   .0584934     1.62   0.106    -.0200192    .2092706
        2005  |  -.1379934    .064168    -2.15   0.032    -.2637605   -.0122264
        2011  |   .1283384   .0667178     1.92   0.054    -.0024261     .259103
--------------+----------------------------------------------------------------
        /cut1 |  -5.828849   .1605723                     -6.143565   -5.514133
        /cut2 |  -4.161127   .1488174                     -4.452804    -3.86945
        /cut3 |  -1.797281   .1418865                     -2.075374   -1.519189
        /cut4 |   .6548595   .1412936                      .3779292    .9317898
-------------------------------------------------------------------------------

. *** Calculate p-values for thresholds
. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 1.59e-288
P-value for cutoff 2: 4.81e-172
P-value for cutoff 3: 9.005e-37
P-value for cutoff 4: 3.574e-06

.         
. ologit approvemp drawn lrdist jelecmpshand likeMpParty ranked_member i.surveyyear if  minister==0 

Iteration 0:   log likelihood =  -9601.711  
Iteration 1:   log likelihood =  -8436.291  
Iteration 2:   log likelihood = -8385.5354  
Iteration 3:   log likelihood = -8385.4658  
Iteration 4:   log likelihood = -8385.4658  

Ordered logistic regression                     Number of obs     =      7,102
                                                LR chi2(8)        =    2432.49
                                                Prob > chi2       =     0.0000
Log likelihood = -8385.4658                     Pseudo R2         =     0.1267

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .3608523   .0462015     7.81   0.000     .2702991    .4514056
       lrdist |  -.0227473   .0116653    -1.95   0.051    -.0456108    .0001162
 jelecmpshand |  -1.181891   .0347481   -34.01   0.000    -1.249996   -1.113786
  likeMpParty |    .193541   .0097352    19.88   0.000     .1744605    .2126216
ranked_member |  -.2253491   .1003639    -2.25   0.025    -.4220588   -.0286394
              |
   surveyyear |
        2002  |   .1081814   .0585567     1.85   0.065    -.0065877    .2229505
        2005  |  -.1393482   .0642121    -2.17   0.030    -.2652016   -.0134947
        2011  |    .134246   .0667374     2.01   0.044     .0034431     .265049
--------------+----------------------------------------------------------------
        /cut1 |  -5.851472   .1597156                     -6.164509   -5.538435
        /cut2 |  -4.180338    .147828                     -4.470075     -3.8906
        /cut3 |  -1.810361   .1407701                     -2.086265   -1.534456
        /cut4 |   .6472963    .140157                      .3725936     .921999
-------------------------------------------------------------------------------

. *** Calculate p-values for thresholds
. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 7.42e-294
P-value for cutoff 2: 6.37e-176
P-value for cutoff 3: 7.518e-38
P-value for cutoff 4: 3.868e-06

. 
. *** Calculate Predicted Values for different numbers of drawn bills
. *** Figure 6
. margins, predict(outcome(`i')) at(drawn=(0 1 2))

Predictive margins                              Number of obs     =      7,102
Model VCE    : OIM

Expression   : Pr(approvemp==1), predict(outcome())

1._at        : drawn           =           0

2._at        : drawn           =           1

3._at        : drawn           =           2

------------------------------------------------------------------------------
             |            Delta-method
             |     Margin   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         _at |
          1  |    .050611   .0025651    19.73   0.000     .0455835    .0556384
          2  |   .0371893   .0022879    16.25   0.000     .0327051    .0416735
          3  |   .0270526   .0024977    10.83   0.000     .0221573     .031948
------------------------------------------------------------------------------

. matrix pr=r(b)

. forvalues i=2/5 {
  2.         margins, predict(outcome(`i')) at(drawn=(0 1 2))
  3.         matrix pr=pr\r(b)
  4.         }

Predictive margins                              Number of obs     =      7,102
Model VCE    : OIM

Expression   : Pr(approvemp==2), predict(outcome(2))

1._at        : drawn           =           0

2._at        : drawn           =           1

3._at        : drawn           =           2

------------------------------------------------------------------------------
             |            Delta-method
             |     Margin   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         _at |
          1  |   .1283283    .003892    32.97   0.000     .1207001    .1359566
          2  |   .1026365   .0039809    25.78   0.000      .094834    .1104391
          3  |   .0805446    .005302    15.19   0.000     .0701528    .0909363
------------------------------------------------------------------------------

Predictive margins                              Number of obs     =      7,102
Model VCE    : OIM

Expression   : Pr(approvemp==3), predict(outcome(3))

1._at        : drawn           =           0

2._at        : drawn           =           1

3._at        : drawn           =           2

------------------------------------------------------------------------------
             |            Delta-method
             |     Margin   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         _at |
          1  |   .4013083   .0056776    70.68   0.000     .3901804    .4124363
          2  |   .3713158   .0061775    60.11   0.000     .3592081    .3834235
          3  |    .334298   .0100979    33.11   0.000     .3145065    .3540896
------------------------------------------------------------------------------

Predictive margins                              Number of obs     =      7,102
Model VCE    : OIM

Expression   : Pr(approvemp==4), predict(outcome(4))

1._at        : drawn           =           0

2._at        : drawn           =           1

3._at        : drawn           =           2

------------------------------------------------------------------------------
             |            Delta-method
             |     Margin   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         _at |
          1  |   .3335045   .0052891    63.06   0.000     .3231381    .3438708
          2  |    .373852   .0067115    55.70   0.000     .3606977    .3870062
          3  |   .4073318   .0089837    45.34   0.000     .3897241    .4249395
------------------------------------------------------------------------------

Predictive margins                              Number of obs     =      7,102
Model VCE    : OIM

Expression   : Pr(approvemp==5), predict(outcome(5))

1._at        : drawn           =           0

2._at        : drawn           =           1

3._at        : drawn           =           2

------------------------------------------------------------------------------
             |            Delta-method
             |     Margin   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         _at |
          1  |   .0862479   .0031664    27.24   0.000      .080042    .0924538
          2  |   .1150064   .0048364    23.78   0.000     .1055272    .1244855
          3  |    .150773   .0098664    15.28   0.000     .1314353    .1701107
------------------------------------------------------------------------------

. matrix pr=pr,(1\2\3\4\5)

. matrix colnames pr = d1 d2 d3 app

. matrix list pr

pr[5,4]
           d1         d2         d3        app
r1  .05061096  .03718934  .02705263          1
r1  .12832834  .10263655  .08054456          2
r1  .40130834  .37131581  .33429804          3
r1  .33350446  .37385195  .40733179          4
r1   .0862479  .11500635  .15077298          5

. * Saves data in CSV file to used by PMB_figures.tex to create histogram
. mat2txt2 pr using "app_PSRM.csv", comma replace
Open output file: shellout using "app_PSRM.csv"
View output file: view "app_PSRM.csv"

. 
. 
. ologit approvemp drawn unique attempts lrdist likeMpParty jelecmpshand ranked_member i.surveyyear  /// 
>  if  minister==0

Iteration 0:   log likelihood =  -9601.711  
Iteration 1:   log likelihood = -8427.9779  
Iteration 2:   log likelihood = -8376.3654  
Iteration 3:   log likelihood = -8376.2947  
Iteration 4:   log likelihood = -8376.2947  

Ordered logistic regression                     Number of obs     =      7,102
                                                LR chi2(10)       =    2450.83
                                                Prob > chi2       =     0.0000
Log likelihood = -8376.2947                     Pseudo R2         =     0.1276

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .3677357   .0641478     5.73   0.000     .2420084     .493463
       unique |  -.1579899   .0527947    -2.99   0.003    -.2614656   -.0545142
     attempts |   .0373018   .0087408     4.27   0.000     .0201703    .0544334
       lrdist |  -.0227404   .0116687    -1.95   0.051    -.0456107    .0001299
  likeMpParty |   .1931222   .0097521    19.80   0.000     .1740084     .212236
 jelecmpshand |  -1.181124   .0347441   -33.99   0.000    -1.249221   -1.113027
ranked_member |  -.2120624   .1015208    -2.09   0.037    -.4110395   -.0130854
              |
   surveyyear |
        2002  |   .0768826   .0590245     1.30   0.193    -.0388033    .1925685
        2005  |  -.1618878   .0644534    -2.51   0.012    -.2882142   -.0355615
        2011  |    .147025   .0668519     2.20   0.028     .0159977    .2780522
--------------+----------------------------------------------------------------
        /cut1 |  -5.855786   .1606794                     -6.170712   -5.540861
        /cut2 |  -4.181565   .1488316                      -4.47327   -3.889861
        /cut3 |  -1.807332   .1418348                     -2.085323   -1.529341
        /cut4 |   .6532961   .1412364                      .3764778    .9301144
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2. 
.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 8.59e-291
P-value for cutoff 2: 1.10e-173
P-value for cutoff 3: 3.432e-37
P-value for cutoff 4: 3.736e-06

.         
. ologit approvemp drawn lrdist likeMpParty jelecmpshand ranked_member i.surveyyear  /// 
>  if attempts > 0 

Iteration 0:   log likelihood = -4661.1777  
Iteration 1:   log likelihood = -4148.4565  
Iteration 2:   log likelihood = -4130.1318  
Iteration 3:   log likelihood = -4130.1088  
Iteration 4:   log likelihood = -4130.1088  

Ordered logistic regression                     Number of obs     =      3,513
                                                LR chi2(8)        =    1062.14
                                                Prob > chi2       =     0.0000
Log likelihood = -4130.1088                     Pseudo R2         =     0.1139

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .2560861   .0562548     4.55   0.000     .1458288    .3663435
       lrdist |  -.0250346   .0166445    -1.50   0.133    -.0576572     .007588
  likeMpParty |    .224582   .0142848    15.72   0.000     .1965842    .2525797
 jelecmpshand |  -.9680016   .0481815   -20.09   0.000    -1.062436   -.8735676
ranked_member |   .3750681   .1105405     3.39   0.001     .1584126    .5917235
              |
   surveyyear |
        2002  |   .1806724   .0888336     2.03   0.042     .0065617    .3547831
        2005  |  -.1730146   .0985495    -1.76   0.079    -.3661681     .020139
        2011  |   .1272909   .1004335     1.27   0.205    -.0695551    .3241368
--------------+----------------------------------------------------------------
        /cut1 |  -5.061106   .2265344                     -5.505105   -4.617107
        /cut2 |  -3.431108   .2091859                     -3.841104   -3.021111
        /cut3 |  -1.081219    .201814                     -1.476767   -.6856704
        /cut4 |     1.3905   .2026123                      .9933874    1.787613
-------------------------------------------------------------------------------

.  forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 1.46e-110
P-value for cutoff 2: 1.845e-60
P-value for cutoff 3: 8.438e-08
P-value for cutoff 4: 6.749e-12

. 
. ************************************
. *** END: TABLE 2 & DATA FOR FIGURE 6
. ************************************
. 
. **********************************************************************
. *** TABLE 3: Conditioning on number of attempts - Conditional logit
. **********************************************************************
. 
. **** Conditioning on number of attempts - Conditional logit (NOW in BODY of TEXT)
. 
. ologit approvemp drawn lrdist likeMpParty jelecmpshand ranked_member i.surveyyear  /// 
>  if attempts == 1 & minister==0

note: ranked_member omitted because of collinearity
Iteration 0:   log likelihood = -723.93998  
Iteration 1:   log likelihood = -640.61099  
Iteration 2:   log likelihood = -637.24832  
Iteration 3:   log likelihood = -637.24358  
Iteration 4:   log likelihood = -637.24358  

Ordered logistic regression                     Number of obs     =        528
                                                LR chi2(7)        =     173.39
                                                Prob > chi2       =     0.0000
Log likelihood = -637.24358                     Pseudo R2         =     0.1198

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .3853721   .1716205     2.25   0.025     .0490021    .7217421
       lrdist |  -.0285894   .0401178    -0.71   0.476    -.1072189    .0500401
  likeMpParty |   .1941827   .0354659     5.48   0.000     .1246708    .2636947
 jelecmpshand |  -1.095925   .1222817    -8.96   0.000    -1.335592    -.856257
ranked_member |          0  (omitted)
              |
   surveyyear |
        2002  |  -.0717789   .2310784    -0.31   0.756    -.5246842    .3811264
        2005  |  -.6198742   .2595543    -2.39   0.017    -1.128591    -.111157
        2011  |  -.1765054   .2246045    -0.79   0.432    -.6167222    .2637114
--------------+----------------------------------------------------------------
        /cut1 |  -5.448502   .5576459                     -6.541468   -4.355536
        /cut2 |  -3.965222   .5228144                     -4.989919   -2.940524
        /cut3 |  -1.694819    .497109                     -2.669135   -.7205033
        /cut4 |   .7534147   .4935836                     -.2139914    1.720821
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 1.506e-22
P-value for cutoff 2: 3.341e-14
P-value for cutoff 3: .00065118
P-value for cutoff 4: .1269059

.         
. ologit approvemp drawn lrdist likeMpParty jelecmpshand ranked_member i.surveyyear  /// 
>  if (attempts == 2 | attempts == 3 | attempts == 4) & minister==0

note: ranked_member omitted because of collinearity
Iteration 0:   log likelihood =  -969.2623  
Iteration 1:   log likelihood = -852.03931  
Iteration 2:   log likelihood = -846.97062  
Iteration 3:   log likelihood = -846.96368  
Iteration 4:   log likelihood = -846.96368  

Ordered logistic regression                     Number of obs     =        722
                                                LR chi2(7)        =     244.60
                                                Prob > chi2       =     0.0000
Log likelihood = -846.96368                     Pseudo R2         =     0.1262

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .3353204   .1568406     2.14   0.033     .0279185    .6427223
       lrdist |    .015001   .0377902     0.40   0.691    -.0590663    .0890684
  likeMpParty |   .2723607   .0334698     8.14   0.000     .2067611    .3379603
 jelecmpshand |  -.8000488   .1030203    -7.77   0.000    -1.001965   -.5981327
ranked_member |          0  (omitted)
              |
   surveyyear |
        2002  |   .5633555   .2463028     2.29   0.022     .0806109      1.0461
        2005  |  -.3640517   .2062139    -1.77   0.077    -.7682235      .04012
        2011  |   .2312662   .1825028     1.27   0.205    -.1264328    .5889652
--------------+----------------------------------------------------------------
        /cut1 |   -4.22041   .4949849                     -5.190563   -3.250258
        /cut2 |  -2.463342   .4594697                     -3.363886   -1.562798
        /cut3 |  -.0633738   .4522745                     -.9498156    .8230679
        /cut4 |   2.450392   .4662856                      1.536489    3.364295
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 1.510e-17
P-value for cutoff 2: 8.264e-08
P-value for cutoff 3: .88856324
P-value for cutoff 4: 1.479e-07

. 
. ologit approvemp drawn lrdist likeMpParty jelecmpshand ranked_member i.surveyyear  /// 
>  if unique == 1 & minister==0

Iteration 0:   log likelihood = -2742.8421  
Iteration 1:   log likelihood = -2424.6979  
Iteration 2:   log likelihood = -2411.7049  
Iteration 3:   log likelihood = -2411.6374  
Iteration 4:   log likelihood = -2411.6373  

Ordered logistic regression                     Number of obs     =      2,060
                                                LR chi2(8)        =     662.41
                                                Prob > chi2       =     0.0000
Log likelihood = -2411.6373                     Pseudo R2         =     0.1208

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |    .268969   .0886744     3.03   0.002     .0951703    .4427676
       lrdist |  -.0311084     .02165    -1.44   0.151    -.0735416    .0113249
  likeMpParty |   .2027144   .0185779    10.91   0.000     .1663025    .2391264
 jelecmpshand |  -1.071057   .0641739   -16.69   0.000    -1.196835   -.9452782
ranked_member |   1.815453   .7574727     2.40   0.017     .3308339    3.300072
              |
   surveyyear |
        2002  |   .1121972   .1107169     1.01   0.311    -.1048039    .3291984
        2005  |  -.3539825   .1207267    -2.93   0.003    -.5906025   -.1173626
        2011  |   .0300444   .1209789     0.25   0.804      -.20707    .2671587
--------------+----------------------------------------------------------------
        /cut1 |  -5.683183   .3043012                     -6.279602   -5.086763
        /cut2 |  -3.981836   .2800389                     -4.530702   -3.432969
        /cut3 |  -1.565305   .2681273                     -2.090824   -1.039785
        /cut4 |   .8801598    .267866                      .3551522    1.405167
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 7.737e-78
P-value for cutoff 2: 6.998e-46
P-value for cutoff 3: 5.286e-09
P-value for cutoff 4: .00101685

. 
. ologit approvemp drawn lrdist likeMpParty jelecmpshand ranked_member i.surveyyear  /// 
>  if unique == 2 & minister==0

Iteration 0:   log likelihood = -869.28142  
Iteration 1:   log likelihood = -769.99108  
Iteration 2:   log likelihood = -766.51581  
Iteration 3:   log likelihood = -766.51329  
Iteration 4:   log likelihood = -766.51329  

Ordered logistic regression                     Number of obs     =        642
                                                LR chi2(8)        =     205.54
                                                Prob > chi2       =     0.0000
Log likelihood = -766.51329                     Pseudo R2         =     0.1182

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |    .226133   .1414854     1.60   0.110    -.0511732    .5034393
       lrdist |   .0205498   .0368141     0.56   0.577    -.0516046    .0927042
  likeMpParty |   .2634899   .0329192     8.00   0.000     .1989694    .3280103
 jelecmpshand |  -.9636955   .1116977    -8.63   0.000    -1.182619   -.7447719
ranked_member |    .453059   .3357631     1.35   0.177    -.2050246    1.111143
              |
   surveyyear |
        2002  |   .3628351   .2051722     1.77   0.077     -.039295    .7649653
        2005  |  -.1138153   .2605231    -0.44   0.662    -.6244313    .3968006
        2011  |   .0768754   .2181581     0.35   0.725    -.3507066    .5044575
--------------+----------------------------------------------------------------
        /cut1 |  -4.428304   .4912552                     -5.391147   -3.465462
        /cut2 |   -2.96503   .4635725                     -3.873615   -2.056444
        /cut3 |  -.7812796   .4510843                     -1.665389    .1028293
        /cut4 |   1.739001    .451799                      .8534913    2.624511
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 1.982e-19
P-value for cutoff 2: 1.595e-10
P-value for cutoff 3: .08327291
P-value for cutoff 4: .00011857

. 
. ************************************************************************
. *** END: TABLE 3: Conditioning on number of attempts - Conditional logit
. ************************************************************************
. 
. 
. ************************************************************************
. *** BEGIN: APPENDIX A: Summary statistics
. ************************************************************************
. use "PSRM_table1.dta", clear

. 
. bysort id: gen n=_n

. sum margin if minister==0 & n==1 & margin>0

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      margin |        248    .2166907    .1444242    .001735   .6376758

. sum margin list_margin ranked_member govt smd_only list_only if minister==0 & n==1

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      margin |        502   -.0134051    .2845592  -.7314358   .6376758
 list_margin |        502    7.231076    12.68167        -34         47
ranked_mem~r |        502    .0258964    .1589847          0          1
        govt |        502    .3545817    .4788636          0          1
    smd_only |        502    .0776892     .267949          0          1
-------------+---------------------------------------------------------
   list_only |        502    .1075697    .3101453          0          1

. 
. 
. ************************************************************************
. *** END: APPENDIX A: Summary statistics
. ************************************************************************
. 
. 
. use "PSRM_appendixB.dta", clear

. **********************************************************************
. *** TABLE B5: Margin of Victory
. *** NOTE: The results here are slightly different from the version 
. *** that was conditionally accepted.  The differences are minor and
. *** do not alter the substantive conclusion that there is no real 
. *** evidence that PMBs affect electoral success.  The manuscript
. *** has been updated to reflect these corrected results and uploaded
. *** to the dataverse for reference.
. **********************************************************************
. 
. reg margin c.attempts i.govt ranked_member 

      Source |       SS           df       MS      Number of obs   =       329
-------------+----------------------------------   F(3, 325)       =     20.03
       Model |  4.67602997         3  1.55867666   Prob > F        =    0.0000
    Residual |  25.2890077       325  .077812331   R-squared       =    0.1560
-------------+----------------------------------   Adj R-squared   =    0.1483
       Total |  29.9650376       328  .091356822   Root MSE        =    .27895

-------------------------------------------------------------------------------
       margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
     attempts |  -.0160996   .0029859    -5.39   0.000    -.0219738   -.0102254
       1.govt |   .0322678   .0378742     0.85   0.395    -.0422417    .1067772
ranked_member |   .0647758   .0417478     1.55   0.122    -.0173542    .1469057
        _cons |    .105216   .0308855     3.41   0.001     .0444553    .1659768
-------------------------------------------------------------------------------

. 
. reg margin c.attempts##i.govt ranked_member 

      Source |       SS           df       MS      Number of obs   =       329
-------------+----------------------------------   F(4, 324)       =     15.06
       Model |  4.69884236         4  1.17471059   Prob > F        =    0.0000
    Residual |  25.2661953       324  .077982084   R-squared       =    0.1568
-------------+----------------------------------   Adj R-squared   =    0.1464
       Total |  29.9650376       328  .091356822   Root MSE        =    .27925

---------------------------------------------------------------------------------
         margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
----------------+----------------------------------------------------------------
       attempts |  -.0167465   .0032196    -5.20   0.000    -.0230804   -.0104126
         1.govt |   .0199514   .0442282     0.45   0.652    -.0670592     .106962
                |
govt#c.attempts |
             1  |   .0045454    .008404     0.54   0.589    -.0119879    .0210788
                |
  ranked_member |   .0712545    .043476     1.64   0.102    -.0142764    .1567853
          _cons |   .1096865   .0320049     3.43   0.001     .0467229    .1726501
---------------------------------------------------------------------------------

. 
. reg margin c.unique i.govt ranked_member 

      Source |       SS           df       MS      Number of obs   =       329
-------------+----------------------------------   F(3, 325)       =     24.96
       Model |  5.61111916         3  1.87037305   Prob > F        =    0.0000
    Residual |  24.3539185       325  .074935134   R-squared       =    0.1873
-------------+----------------------------------   Adj R-squared   =    0.1798
       Total |  29.9650376       328  .091356822   Root MSE        =    .27374

-------------------------------------------------------------------------------
       margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
       unique |   -.083796   .0128286    -6.53   0.000    -.1090335   -.0585585
       1.govt |    .032906    .036221     0.91   0.364    -.0383513    .1041633
ranked_member |   .0541738   .0410661     1.32   0.188    -.0266151    .1349627
        _cons |   .1126686   .0286966     3.93   0.000     .0562142     .169123
-------------------------------------------------------------------------------

. 
. reg margin c.unique##i.govt ranked_member 

      Source |       SS           df       MS      Number of obs   =       329
-------------+----------------------------------   F(4, 324)       =     18.66
       Model |   5.6114948         4   1.4028737   Prob > F        =    0.0000
    Residual |  24.3535428       324  .075165256   R-squared       =    0.1873
-------------+----------------------------------   Adj R-squared   =    0.1772
       Total |  29.9650376       328  .091356822   Root MSE        =    .27416

-------------------------------------------------------------------------------
       margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
       unique |  -.0840874   .0134931    -6.23   0.000    -.1106325   -.0575422
       1.govt |   .0313159   .0426843     0.73   0.464    -.0526574    .1152891
              |
govt#c.unique |
           1  |   .0029336   .0414973     0.07   0.944    -.0787046    .0845717
              |
ranked_member |   .0551632   .0434454     1.27   0.205    -.0303075     .140634
        _cons |   .1130621   .0292745     3.86   0.000     .0554699    .1706542
-------------------------------------------------------------------------------

. 
. reg margin c.drawn i.govt ranked_member 

      Source |       SS           df       MS      Number of obs   =       329
-------------+----------------------------------   F(3, 325)       =     10.51
       Model |  2.64891348         3  .882971161   Prob > F        =    0.0000
    Residual |  27.3161241       325  .084049613   R-squared       =    0.0884
-------------+----------------------------------   Adj R-squared   =    0.0800
       Total |  29.9650376       328  .091356822   Root MSE        =    .28991

-------------------------------------------------------------------------------
       margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |  -.0476327   .0284842    -1.67   0.095    -.1036694    .0084041
       1.govt |   .1041791   .0365747     2.85   0.005     .0322261     .176132
ranked_member |   .0916567   .0431709     2.12   0.034     .0067271    .1765863
        _cons |   .0056135   .0253173     0.22   0.825    -.0441931      .05542
-------------------------------------------------------------------------------

. 
. reg margin c.drawn##i.govt ranked_member 

      Source |       SS           df       MS      Number of obs   =       329
-------------+----------------------------------   F(4, 324)       =      7.98
       Model |  2.68665749         4  .671664373   Prob > F        =    0.0000
    Residual |  27.2783801       324  .084192531   R-squared       =    0.0897
-------------+----------------------------------   Adj R-squared   =    0.0784
       Total |  29.9650376       328  .091356822   Root MSE        =    .29016

-------------------------------------------------------------------------------
       margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |  -.0397936   .0308189    -1.29   0.198    -.1004241    .0208369
       1.govt |   .1139108   .0393857     2.89   0.004     .0364268    .1913948
              |
 govt#c.drawn |
           1  |  -.0530632   .0792513    -0.67   0.504    -.2089754    .1028489
              |
ranked_member |     .08642   .0439097     1.97   0.050     .0000358    .1728041
        _cons |   .0026298   .0257277     0.10   0.919    -.0479847    .0532442
-------------------------------------------------------------------------------

. 
. **********************************************************************
. *** END: TABLE B5: Margin of Victory
. **********************************************************************
. 
. **********************************************************************
. *** TABLE B6: Margin of Victory by Year
. **********************************************************************
. 
. reg margin c.attempts##i.govt ranked_member if year==1999

      Source |       SS           df       MS      Number of obs   =        80
-------------+----------------------------------   F(4, 75)        =      8.22
       Model |  2.22546556         4  .556366389   Prob > F        =    0.0000
    Residual |  5.07850377        75  .067713384   R-squared       =    0.3047
-------------+----------------------------------   Adj R-squared   =    0.2676
       Total |  7.30396933        79  .092455308   Root MSE        =    .26022

---------------------------------------------------------------------------------
         margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
----------------+----------------------------------------------------------------
       attempts |   -.007888   .0061216    -1.29   0.202    -.0200829    .0043069
         1.govt |   .2464786   .0928085     2.66   0.010     .0615946    .4313625
                |
govt#c.attempts |
             1  |  -.0073914   .0127071    -0.58   0.563    -.0327052    .0179225
                |
  ranked_member |   .0572477   .0852628     0.67   0.504    -.1126045       .2271
          _cons |  -.0060291   .0677941    -0.09   0.929    -.1410819    .1290238
---------------------------------------------------------------------------------

. reg margin c.attempts##i.govt ranked_member if year==2002

      Source |       SS           df       MS      Number of obs   =        96
-------------+----------------------------------   F(4, 91)        =      9.35
       Model |  2.86295431         4  .715738578   Prob > F        =    0.0000
    Residual |  6.96267841        91   .07651295   R-squared       =    0.2914
-------------+----------------------------------   Adj R-squared   =    0.2602
       Total |  9.82563272        95  .103427713   Root MSE        =    .27661

---------------------------------------------------------------------------------
         margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
----------------+----------------------------------------------------------------
       attempts |  -.0235836   .0058609    -4.02   0.000    -.0352255   -.0119417
         1.govt |  -.0074069   .0873393    -0.08   0.933    -.1808957    .1660819
                |
govt#c.attempts |
             1  |  -.0036757   .0311341    -0.12   0.906    -.0655198    .0581685
                |
  ranked_member |    .112739    .086794     1.30   0.197    -.0596666    .2851445
          _cons |   .0864671   .0642025     1.35   0.181    -.0410633    .2139975
---------------------------------------------------------------------------------

. reg margin c.attempts##i.govt ranked_member if year==2005

      Source |       SS           df       MS      Number of obs   =        75
-------------+----------------------------------   F(4, 70)        =      1.61
       Model |  .509004389         4  .127251097   Prob > F        =    0.1815
    Residual |  5.53333046        70  .079047578   R-squared       =    0.0842
-------------+----------------------------------   Adj R-squared   =    0.0319
       Total |  6.04233485        74  .081653174   Root MSE        =    .28115

---------------------------------------------------------------------------------
         margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
----------------+----------------------------------------------------------------
       attempts |  -.0116496   .0059375    -1.96   0.054    -.0234915    .0001924
         1.govt |  -.1698627    .092968    -1.83   0.072    -.3552815    .0155561
                |
govt#c.attempts |
             1  |     .00643   .0220203     0.29   0.771    -.0374881    .0503481
                |
  ranked_member |  -.0143458   .0948963    -0.15   0.880    -.2036105    .1749188
          _cons |   .2087084   .0571344     3.65   0.000     .0947573    .3226594
---------------------------------------------------------------------------------

. reg margin c.attempts##i.govt ranked_member if year==2008

      Source |       SS           df       MS      Number of obs   =        78
-------------+----------------------------------   F(4, 73)        =      3.53
       Model |  .960328322         4   .24008208   Prob > F        =    0.0110
    Residual |  4.97171642        73  .068105704   R-squared       =    0.1619
-------------+----------------------------------   Adj R-squared   =    0.1160
       Total |  5.93204474        77  .077039542   Root MSE        =    .26097

---------------------------------------------------------------------------------
         margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
----------------+----------------------------------------------------------------
       attempts |     -.0163   .0096725    -1.69   0.096    -.0355773    .0029774
         1.govt |   .0579609   .0805271     0.72   0.474    -.1025294    .2184512
                |
govt#c.attempts |
             1  |  -.0055566   .0167428    -0.33   0.741     -.038925    .0278118
                |
  ranked_member |   .1085459     .07581     1.43   0.156    -.0425432    .2596349
          _cons |   .1032398   .0637551     1.62   0.110     -.023824    .2303035
---------------------------------------------------------------------------------

. reg margin c.drawn##i.govt ranked_member if year==1999

      Source |       SS           df       MS      Number of obs   =        80
-------------+----------------------------------   F(4, 75)        =      7.61
       Model |  2.10935182         4  .527337954   Prob > F        =    0.0000
    Residual |  5.19461751        75  .069261567   R-squared       =    0.2888
-------------+----------------------------------   Adj R-squared   =    0.2509
       Total |  7.30396933        79  .092455308   Root MSE        =    .26318

-------------------------------------------------------------------------------
       margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |  -.0679309   .0521709    -1.30   0.197    -.1718606    .0359988
       1.govt |   .2457203   .0743209     3.31   0.001     .0976655     .393775
              |
 govt#c.drawn |
           1  |  -.0054985   .1519032    -0.04   0.971    -.3081052    .2971082
              |
ranked_member |   .0835151   .0817745     1.02   0.310     -.079388    .2464181
        _cons |  -.0394682   .0508438    -0.78   0.440    -.1407543    .0618178
-------------------------------------------------------------------------------

. reg margin c.drawn##i.govt ranked_member if year==2002

      Source |       SS           df       MS      Number of obs   =        96
-------------+----------------------------------   F(4, 91)        =      4.94
       Model |  1.75182899         4  .437957247   Prob > F        =    0.0012
    Residual |  8.07380374        91  .088723118   R-squared       =    0.1783
-------------+----------------------------------   Adj R-squared   =    0.1422
       Total |  9.82563272        95  .103427713   Root MSE        =    .29786

-------------------------------------------------------------------------------
       margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |  -.0770923   .0576676    -1.34   0.185    -.1916418    .0374573
       1.govt |   .1644632   .0786934     2.09   0.039     .0081484     .320778
              |
 govt#c.drawn |
           1  |  -.0034638   .1500297    -0.02   0.982    -.3014795    .2945519
              |
ranked_member |   .1185707   .0930923     1.27   0.206    -.0663457    .3034871
        _cons |  -.0912347   .0468627    -1.95   0.055    -.1843218    .0018524
-------------------------------------------------------------------------------

. reg margin c.drawn##i.govt ranked_member if year==2005

      Source |       SS           df       MS      Number of obs   =        75
-------------+----------------------------------   F(4, 70)        =      0.74
       Model |  .246015771         4  .061503943   Prob > F        =    0.5661
    Residual |  5.79631908        70  .082804558   R-squared       =    0.0407
-------------+----------------------------------   Adj R-squared   =   -0.0141
       Total |  6.04233485        74  .081653174   Root MSE        =    .28776

-------------------------------------------------------------------------------
       margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |    .023284   .0554943     0.42   0.676    -.0873959     .133964
       1.govt |  -.0862539   .0893886    -0.96   0.338    -.2645338     .092026
              |
 govt#c.drawn |
           1  |   -.130096   .1851655    -0.70   0.485    -.4993968    .2392049
              |
ranked_member |   .0003865   .0964396     0.00   0.997    -.1919563    .1927292
        _cons |   .1229813   .0479418     2.57   0.012     .0273644    .2185983
-------------------------------------------------------------------------------

. reg margin c.drawn##i.govt ranked_member if year==2008

      Source |       SS           df       MS      Number of obs   =        78
-------------+----------------------------------   F(4, 73)        =      2.27
       Model |  .656349359         4   .16408734   Prob > F        =    0.0698
    Residual |  5.27569538        73    .0722698   R-squared       =    0.1106
-------------+----------------------------------   Adj R-squared   =    0.0619
       Total |  5.93204474        77  .077039542   Root MSE        =    .26883

-------------------------------------------------------------------------------
       margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .0111783   .0908516     0.12   0.902    -.1698886    .1922452
       1.govt |   .0972459   .0718245     1.35   0.180       -.0459    .2403918
              |
 govt#c.drawn |
           1  |  -.1083893   .1495672    -0.72   0.471    -.4064763    .1896977
              |
ranked_member |   .1478746   .0747792     1.98   0.052    -.0011602    .2969093
        _cons |   .0235181   .0566868     0.41   0.679    -.0894585    .1364947
-------------------------------------------------------------------------------

. 
. **********************************************************************
. *** END: TABLE B6: Margin of Victory by Year
. **********************************************************************
. 
. **********************************************************************
. *** TABLE B7: Margin of Victory by Year
. **********************************************************************
. 
. reg margin c.attempts##i.govt ranked_member i.party_no##i.year if (party_no==8 | party_no==7)
note: 8.party_no#2008.year omitted because of collinearity

      Source |       SS           df       MS      Number of obs   =       255
-------------+----------------------------------   F(10, 244)      =      5.49
       Model |  2.55648467        10  .255648467   Prob > F        =    0.0000
    Residual |  11.3576573       244  .046547776   R-squared       =    0.1837
-------------+----------------------------------   Adj R-squared   =    0.1503
       Total |   13.914142       254  .054780086   Root MSE        =    .21575

--------------------------------------------------------------------------------------------------
                          margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
---------------------------------+----------------------------------------------------------------
                        attempts |   .0051797   .0036154     1.43   0.153    -.0019418    .0123011
                          1.govt |   .1606846   .0473625     3.39   0.001     .0673931    .2539762
                                 |
                 govt#c.attempts |
                              1  |  -.0159073   .0076166    -2.09   0.038      -.03091   -.0009045
                                 |
                   ranked_member |   .0831235   .0365325     2.28   0.024     .0111643    .1550828
                                 |
                        party_no |
     new zealand national party  |  -.1128404   .0399357    -2.83   0.005    -.1915031   -.0341777
                                 |
                            year |
                           2002  |  -.1890988   .0490827    -3.85   0.000    -.2857787   -.0924189
                           2005  |  -.2857681   .0539669    -5.30   0.000    -.3920684   -.1794678
                           2008  |  -.0110325   .0399201    -0.28   0.783    -.0896646    .0675996
                                 |
                   party_no#year |
new zealand national party#2002  |   .3951958    .080961     4.88   0.000     .2357241    .5546674
new zealand national party#2005  |   .4829341   .0797396     6.06   0.000     .3258683         .64
new zealand national party#2008  |          0  (omitted)
                                 |
                           _cons |   .1131509    .042879     2.64   0.009     .0286906    .1976112
--------------------------------------------------------------------------------------------------

. reg margin c.unique##i.govt ranked_member i.party_no##i.year if (party_no==8 | party_no==7)
note: 8.party_no#2008.year omitted because of collinearity

      Source |       SS           df       MS      Number of obs   =       255
-------------+----------------------------------   F(10, 244)      =      5.30
       Model |  2.48296942        10  .248296942   Prob > F        =    0.0000
    Residual |  11.4311725       244  .046849068   R-squared       =    0.1784
-------------+----------------------------------   Adj R-squared   =    0.1448
       Total |   13.914142       254  .054780086   Root MSE        =    .21645

--------------------------------------------------------------------------------------------------
                          margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
---------------------------------+----------------------------------------------------------------
                          unique |   .0043197   .0248172     0.17   0.862    -.0445636     .053203
                          1.govt |    .146434   .0503267     2.91   0.004     .0473037    .2455643
                                 |
                   govt#c.unique |
                              1  |  -.0665304   .0440529    -1.51   0.132    -.1533029    .0202422
                                 |
                   ranked_member |   .0807467   .0373258     2.16   0.031     .0072248    .1542686
                                 |
                        party_no |
     new zealand national party  |  -.1011298   .0401623    -2.52   0.012    -.1802389   -.0220207
                                 |
                            year |
                           2002  |  -.1838368   .0487289    -3.77   0.000    -.2798197   -.0878538
                           2005  |  -.2837001   .0540753    -5.25   0.000     -.390214   -.1771862
                           2008  |  -.0111065   .0401626    -0.28   0.782    -.0902162    .0680032
                                 |
                   party_no#year |
new zealand national party#2002  |   .3866327   .0813562     4.75   0.000     .2263827    .5468827
new zealand national party#2005  |   .4807955   .0802018     5.99   0.000     .3228193    .6387717
new zealand national party#2008  |          0  (omitted)
                                 |
                           _cons |   .1269883   .0453967     2.80   0.006     .0375689    .2164078
--------------------------------------------------------------------------------------------------

. reg margin c.drawn##i.govt ranked_member i.party_no##i.year if (party_no==8 | party_no==7)
note: 8.party_no#2008.year omitted because of collinearity

      Source |       SS           df       MS      Number of obs   =       255
-------------+----------------------------------   F(10, 244)      =      5.16
       Model |  2.42901148        10  .242901148   Prob > F        =    0.0000
    Residual |  11.4851305       244  .047070207   R-squared       =    0.1746
-------------+----------------------------------   Adj R-squared   =    0.1407
       Total |   13.914142       254  .054780086   Root MSE        =    .21696

--------------------------------------------------------------------------------------------------
                          margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
---------------------------------+----------------------------------------------------------------
                           drawn |   .0144084   .0462801     0.31   0.756    -.0767511    .1055679
                          1.govt |   .1258094   .0435804     2.89   0.004     .0399677    .2116511
                                 |
                    govt#c.drawn |
                              1  |  -.0885943   .0729297    -1.21   0.226    -.2322464    .0550578
                                 |
                   ranked_member |   .0945463   .0356325     2.65   0.008     .0243597    .1647329
                                 |
                        party_no |
     new zealand national party  |  -.1040279   .0399483    -2.60   0.010    -.1827155   -.0253403
                                 |
                            year |
                           2002  |  -.1755331   .0485758    -3.61   0.000    -.2712146   -.0798516
                           2005  |  -.2779285   .0542382    -5.12   0.000    -.3847634   -.1710936
                           2008  |    -.01676   .0399468    -0.42   0.675    -.0954446    .0619246
                                 |
                   party_no#year |
new zealand national party#2002  |   .3772529   .0809244     4.66   0.000     .2178533    .5366524
new zealand national party#2005  |   .4726594   .0804079     5.88   0.000     .3142773    .6310415
new zealand national party#2008  |          0  (omitted)
                                 |
                           _cons |   .1312881   .0412218     3.18   0.002     .0500921    .2124841
--------------------------------------------------------------------------------------------------

. 
. **********************************************************************
. *** END: TABLE B7: Margin of Victory by Year
. **********************************************************************
. 
. **********************************************************************
. *** TABLE B8: Margin of Victory by Year by no. attempts
. **********************************************************************
. 
. reg margin c.drawn##i.govt ranked_member if attempts<6

      Source |       SS           df       MS      Number of obs   =       223
-------------+----------------------------------   F(4, 218)       =      1.92
       Model |  .464214379         4  .116053595   Prob > F        =    0.1089
    Residual |  13.2100813       218  .060596703   R-squared       =    0.0339
-------------+----------------------------------   Adj R-squared   =    0.0162
       Total |  13.6742957       222  .061595926   Root MSE        =    .24616

-------------------------------------------------------------------------------
       margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .1085602   .0798132     1.36   0.175     -.048744    .2658645
       1.govt |   .0353672   .0399852     0.88   0.377    -.0434399    .1141744
              |
 govt#c.drawn |
           1  |   -.206315   .1255559    -1.64   0.102    -.4537738    .0411438
              |
ranked_member |   .0639141   .0398556     1.60   0.110    -.0146375    .1424657
        _cons |   .0969258   .0293488     3.30   0.001     .0390821    .1547695
-------------------------------------------------------------------------------

. reg margin c.drawn##i.govt ranked_member if attempts>5 & attempts<11

      Source |       SS           df       MS      Number of obs   =        35
-------------+----------------------------------   F(4, 30)        =      0.63
       Model |    .2730761         4  .068269025   Prob > F        =    0.6428
    Residual |  3.23543933        30  .107847978   R-squared       =    0.0778
-------------+----------------------------------   Adj R-squared   =   -0.0451
       Total |  3.50851543        34   .10319163   Root MSE        =     .3284

-------------------------------------------------------------------------------
       margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .0363795   .1245487     0.29   0.772    -.2179829    .2907419
       1.govt |   .1879932   .1471762     1.28   0.211    -.1125808    .4885672
              |
 govt#c.drawn |
           1  |   -.031536   .1900799    -0.17   0.869     -.419731     .356659
              |
ranked_member |  -.2267723   .3471829    -0.65   0.519    -.9358144    .4822698
        _cons |  -.1203299   .0859468    -1.40   0.172    -.2958566    .0551968
-------------------------------------------------------------------------------

. reg margin c.drawn##i.govt ranked_member if attempts>10 

      Source |       SS           df       MS      Number of obs   =        71
-------------+----------------------------------   F(4, 66)        =      1.24
       Model |  .591155427         4  .147788857   Prob > F        =    0.3040
    Residual |  7.88869928        66  .119525747   R-squared       =    0.0697
-------------+----------------------------------   Adj R-squared   =    0.0133
       Total |   8.4798547        70  .121140781   Root MSE        =    .34572

-------------------------------------------------------------------------------
       margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .0220114   .0458175     0.48   0.633    -.0694663     .113489
       1.govt |   .2529508   .1817424     1.39   0.169    -.1099096    .6158113
              |
 govt#c.drawn |
           1  |  -.4350726   .3892383    -1.12   0.268    -1.212212    .3420667
              |
ranked_member |   .4329753   .2508221     1.73   0.089    -.0678073    .9337578
        _cons |  -.1649797   .0561148    -2.94   0.005    -.2770165    -.052943
-------------------------------------------------------------------------------

. 
. **********************************************************************
. *** END: TABLE B8: Margin of Victory by Year by no. attempts
. **********************************************************************
. 
. **********************************************************************
. *** TABLE B9: Change in Margin of Victory 
. **********************************************************************
. 
. reg ch_margin c.attempts i.govt ranked_member 

      Source |       SS           df       MS      Number of obs   =       329
-------------+----------------------------------   F(3, 325)       =      8.28
       Model |   .61677195         3   .20559065   Prob > F        =    0.0000
    Residual |  8.07199686       325  .024836913   R-squared       =    0.0710
-------------+----------------------------------   Adj R-squared   =    0.0624
       Total |  8.68876881       328  .026490149   Root MSE        =     .1576

-------------------------------------------------------------------------------
    ch_margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
     attempts |  -.0035449    .001687    -2.10   0.036    -.0068637   -.0002262
       1.govt |  -.0833952   .0213977    -3.90   0.000    -.1254908   -.0412997
ranked_member |  -.0357104   .0235862    -1.51   0.131    -.0821113    .0106905
        _cons |   .0548324   .0174494     3.14   0.002     .0205044    .0891603
-------------------------------------------------------------------------------

. reg ch_margin c.attempts##i.govt ranked_member 

      Source |       SS           df       MS      Number of obs   =       329
-------------+----------------------------------   F(4, 324)       =      6.62
       Model |  .656066616         4  .164016654   Prob > F        =    0.0000
    Residual |   8.0327022       324  .024792291   R-squared       =    0.0755
-------------+----------------------------------   Adj R-squared   =    0.0641
       Total |  8.68876881       328  .026490149   Root MSE        =    .15746

---------------------------------------------------------------------------------
      ch_margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
----------------+----------------------------------------------------------------
       attempts |   -.004394   .0018153    -2.42   0.016    -.0079653   -.0008226
         1.govt |  -.0995598   .0249379    -3.99   0.000    -.1486204   -.0504991
                |
govt#c.attempts |
             1  |   .0059656   .0047386     1.26   0.209    -.0033566    .0152879
                |
  ranked_member |  -.0272075   .0245138    -1.11   0.268    -.0754338    .0210188
          _cons |   .0606996   .0180458     3.36   0.001     .0251978    .0962014
---------------------------------------------------------------------------------

. reg ch_margin c.unique i.govt ranked_member 

      Source |       SS           df       MS      Number of obs   =       329
-------------+----------------------------------   F(3, 325)       =     10.61
       Model |  .774897529         3  .258299176   Prob > F        =    0.0000
    Residual |  7.91387128       325  .024350373   R-squared       =    0.0892
-------------+----------------------------------   Adj R-squared   =    0.0808
       Total |  8.68876881       328  .026490149   Root MSE        =    .15605

-------------------------------------------------------------------------------
    ch_margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
       unique |  -.0242517   .0073129    -3.32   0.001    -.0386382   -.0098651
       1.govt |  -.0889661   .0206477    -4.31   0.000     -.129586   -.0483461
ranked_member |  -.0412628   .0234096    -1.76   0.079    -.0873162    .0047906
        _cons |   .0652563   .0163584     3.99   0.000     .0330747     .097438
-------------------------------------------------------------------------------

. reg ch_margin c.uniqu##i.govt ranked_member 

      Source |       SS           df       MS      Number of obs   =       329
-------------+----------------------------------   F(4, 324)       =      8.46
       Model |  .821335092         4  .205333773   Prob > F        =    0.0000
    Residual |  7.86743372       324  .024282203   R-squared       =    0.0945
-------------+----------------------------------   Adj R-squared   =    0.0833
       Total |  8.68876881       328  .026490149   Root MSE        =    .15583

-------------------------------------------------------------------------------
    ch_margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
       unique |  -.0274911   .0076691    -3.58   0.000    -.0425787   -.0124035
       1.govt |   -.106646   .0242607    -4.40   0.000    -.1543744   -.0589177
              |
govt#c.unique |
           1  |   .0326171    .023586     1.38   0.168     -.013784    .0790182
              |
ranked_member |  -.0302615   .0246933    -1.23   0.221     -.078841     .018318
        _cons |    .069631   .0166389     4.18   0.000      .036897     .102365
-------------------------------------------------------------------------------

. reg ch_margin c.drawn i.govt ranked_member 

      Source |       SS           df       MS      Number of obs   =       329
-------------+----------------------------------   F(3, 325)       =      7.00
       Model |  .527121571         3   .17570719   Prob > F        =    0.0001
    Residual |  8.16164724       325  .025112761   R-squared       =    0.0607
-------------+----------------------------------   Adj R-squared   =    0.0520
       Total |  8.68876881       328  .026490149   Root MSE        =    .15847

-------------------------------------------------------------------------------
    ch_margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |  -.0139035   .0155698    -0.89   0.373    -.0445339    .0167269
       1.govt |  -.0683665   .0199922    -3.42   0.001    -.1076969   -.0290362
ranked_member |  -.0304371   .0235977    -1.29   0.198    -.0768606    .0159865
        _cons |   .0343222   .0138388     2.48   0.014     .0070974    .0615471
-------------------------------------------------------------------------------

. reg ch_margin c.drawn##i.govt ranked_member 

      Source |       SS           df       MS      Number of obs   =       329
-------------+----------------------------------   F(4, 324)       =      5.24
       Model |  .527498625         4  .131874656   Prob > F        =    0.0004
    Residual |  8.16127019       324  .025189106   R-squared       =    0.0607
-------------+----------------------------------   Adj R-squared   =    0.0491
       Total |  8.68876881       328  .026490149   Root MSE        =    .15871

-------------------------------------------------------------------------------
    ch_margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   -.014687   .0168573    -0.87   0.384    -.0478505    .0184765
       1.govt |  -.0693392   .0215431    -3.22   0.001    -.1117212   -.0269572
              |
 govt#c.drawn |
           1  |   .0053036   .0433487     0.12   0.903    -.0799768    .0905841
              |
ranked_member |  -.0299137   .0240176    -1.25   0.214    -.0771639    .0173366
        _cons |   .0346204   .0140725     2.46   0.014     .0069355    .0623054
-------------------------------------------------------------------------------

. 
. **********************************************************************
. *** END: TABLE B9: Change in Margin of Victory 
. **********************************************************************
. 
. **********************************************************************
. *** TABLE B10: Change in Margin of Victory by Year
. **********************************************************************
. 
. reg ch_margin c.attempts##i.govt ranked_member if year==1999

      Source |       SS           df       MS      Number of obs   =        80
-------------+----------------------------------   F(4, 75)        =      1.72
       Model |  .140734249         4  .035183562   Prob > F        =    0.1540
    Residual |  1.53253779        75  .020433837   R-squared       =    0.0841
-------------+----------------------------------   Adj R-squared   =    0.0353
       Total |  1.67327204        79  .021180659   Root MSE        =    .14295

---------------------------------------------------------------------------------
      ch_margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
----------------+----------------------------------------------------------------
       attempts |   .0011988   .0033628     0.36   0.722    -.0055003    .0078978
         1.govt |   .1008666    .050983     1.98   0.052    -.0006967    .2024299
                |
govt#c.attempts |
             1  |  -.0122388   .0069805    -1.75   0.084    -.0261446     .001667
                |
  ranked_member |  -.0251319   .0468379    -0.54   0.593    -.1184377     .068174
          _cons |  -.0161589   .0372417    -0.43   0.666    -.0903482    .0580305
---------------------------------------------------------------------------------

. reg ch_margin c.attempts##i.govt ranked_member if year==2002

      Source |       SS           df       MS      Number of obs   =        96
-------------+----------------------------------   F(4, 91)        =      8.07
       Model |  .960076916         4  .240019229   Prob > F        =    0.0000
    Residual |  2.70688535        91  .029745993   R-squared       =    0.2618
-------------+----------------------------------   Adj R-squared   =    0.2294
       Total |  3.66696226        95  .038599603   Root MSE        =    .17247

---------------------------------------------------------------------------------
      ch_margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
----------------+----------------------------------------------------------------
       attempts |  -.0084027   .0036543    -2.30   0.024    -.0156616   -.0011438
         1.govt |  -.2811626   .0544574    -5.16   0.000    -.3893354   -.1729897
                |
govt#c.attempts |
             1  |   .0121939   .0194126     0.63   0.531    -.0263668    .0507546
                |
  ranked_member |   .0585487   .0541173     1.08   0.282    -.0489487    .1660461
          _cons |    .072841   .0400312     1.82   0.072    -.0066761    .1523581
---------------------------------------------------------------------------------

. reg ch_margin c.attempts##i.govt ranked_member if year==2005

      Source |       SS           df       MS      Number of obs   =        75
-------------+----------------------------------   F(4, 70)        =     14.67
       Model |  .746646771         4  .186661693   Prob > F        =    0.0000
    Residual |  .890903682        70  .012727195   R-squared       =    0.4560
-------------+----------------------------------   Adj R-squared   =    0.4249
       Total |  1.63755045        74   .02212906   Root MSE        =    .11281

---------------------------------------------------------------------------------
      ch_margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
----------------+----------------------------------------------------------------
       attempts |   -.003695   .0023824    -1.55   0.125    -.0084466    .0010566
         1.govt |  -.1542159    .037304    -4.13   0.000    -.2286164   -.0798154
                |
govt#c.attempts |
             1  |  -.0058066   .0088358    -0.66   0.513     -.023429    .0118158
                |
  ranked_member |   -.097554   .0380778    -2.56   0.013    -.1734977   -.0216103
          _cons |   .1134876   .0229256     4.95   0.000      .067764    .1592112
---------------------------------------------------------------------------------

. reg ch_margin c.attempts##i.govt ranked_member if year==2008

      Source |       SS           df       MS      Number of obs   =        78
-------------+----------------------------------   F(4, 73)        =      0.85
       Model |  .044092711         4  .011023178   Prob > F        =    0.4987
    Residual |  .947538788        73  .012979983   R-squared       =    0.0445
-------------+----------------------------------   Adj R-squared   =   -0.0079
       Total |  .991631499        77  .012878331   Root MSE        =    .11393

---------------------------------------------------------------------------------
      ch_margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
----------------+----------------------------------------------------------------
       attempts |  -.0032227   .0042227    -0.76   0.448    -.0116384    .0051931
         1.govt |  -.0160751    .035155    -0.46   0.649    -.0861389    .0539888
                |
govt#c.attempts |
             1  |   .0031093   .0073093     0.43   0.672    -.0114581    .0176766
                |
  ranked_member |   -.050496   .0330957    -1.53   0.131    -.1164556    .0154637
          _cons |   .0524951    .027833     1.89   0.063     -.002976    .1079663
---------------------------------------------------------------------------------

. 
. reg ch_margin c.drawn##i.govt ranked_member if year==1999

      Source |       SS           df       MS      Number of obs   =        80
-------------+----------------------------------   F(4, 75)        =      1.29
       Model |  .108097787         4  .027024447   Prob > F        =    0.2797
    Residual |  1.56517425        75   .02086899   R-squared       =    0.0646
-------------+----------------------------------   Adj R-squared   =    0.0147
       Total |  1.67327204        79  .021180659   Root MSE        =    .14446

-------------------------------------------------------------------------------
    ch_margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |  -.0240879   .0286373    -0.84   0.403    -.0811364    .0329606
       1.govt |   .0554762   .0407958     1.36   0.178    -.0257931    .1367456
              |
 govt#c.drawn |
           1  |  -.0591985   .0833818    -0.71   0.480    -.2253037    .1069066
              |
ranked_member |  -.0035856   .0448872    -0.08   0.937    -.0930054    .0858342
        _cons |   .0063623   .0279089     0.23   0.820     -.049235    .0619597
-------------------------------------------------------------------------------

. reg ch_margin c.drawn##i.govt ranked_member if year==2002

      Source |       SS           df       MS      Number of obs   =        96
-------------+----------------------------------   F(4, 91)        =      6.60
       Model |  .825048491         4  .206262123   Prob > F        =    0.0001
    Residual |  2.84191377        91  .031229822   R-squared       =    0.2250
-------------+----------------------------------   Adj R-squared   =    0.1909
       Total |  3.66696226        95  .038599603   Root MSE        =    .17672

-------------------------------------------------------------------------------
    ch_margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |  -.0259133   .0342135    -0.76   0.451    -.0938743    .0420477
       1.govt |  -.2193332   .0466879    -4.70   0.000    -.3120731   -.1265933
              |
 govt#c.drawn |
           1  |   .0604078    .089011     0.68   0.499    -.1164016    .2372172
              |
ranked_member |    .060649   .0552306     1.10   0.275    -.0490599    .1703579
        _cons |   .0089113   .0278032     0.32   0.749    -.0463162    .0641389
-------------------------------------------------------------------------------

. reg ch_margin c.drawn##i.govt ranked_member if year==2005

      Source |       SS           df       MS      Number of obs   =        75
-------------+----------------------------------   F(4, 70)        =     13.50
       Model |   .71311626         4  .178279065   Prob > F        =    0.0000
    Residual |  .924434193        70  .013206203   R-squared       =    0.4355
-------------+----------------------------------   Adj R-squared   =    0.4032
       Total |  1.63755045        74   .02212906   Root MSE        =    .11492

-------------------------------------------------------------------------------
    ch_margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .0127302   .0221621     0.57   0.568    -.0314706    .0569311
       1.govt |   -.133405    .035698    -3.74   0.000    -.2046024   -.0622076
              |
 govt#c.drawn |
           1  |   -.066881   .0739472    -0.90   0.369    -.2143641    .0806021
              |
ranked_member |   -.088314   .0385139    -2.29   0.025    -.1651275   -.0115005
        _cons |   .0840066   .0191459     4.39   0.000     .0458213     .122192
-------------------------------------------------------------------------------

. reg ch_margin c.drawn##i.govt ranked_member if year==2008

      Source |       SS           df       MS      Number of obs   =        78
-------------+----------------------------------   F(4, 73)        =      0.79
       Model |  .041108794         4  .010277199   Prob > F        =    0.5359
    Residual |  .950522705        73  .013020859   R-squared       =    0.0415
-------------+----------------------------------   Adj R-squared   =   -0.0111
       Total |  .991631499        77  .012878331   Root MSE        =    .11411

-------------------------------------------------------------------------------
    ch_margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |  -.0225558   .0385633    -0.58   0.560    -.0994123    .0543006
       1.govt |  -.0082086   .0304869    -0.27   0.788     -.068969    .0525517
              |
 govt#c.drawn |
           1  |   .0167133    .063486     0.26   0.793    -.1098141    .1432407
              |
ranked_member |  -.0516561   .0317411    -1.63   0.108    -.1149161    .0116038
        _cons |   .0455897   .0240615     1.89   0.062    -.0023649    .0935442
-------------------------------------------------------------------------------

. 
. **********************************************************************
. *** END: TABLE B10: Change in Margin of Victory by Year
. **********************************************************************
. 
. **********************************************************************
. *** TABLE B11: Change in Margin of Victory Party-Year Dummies
. **********************************************************************
. 
. reg ch_margin c.attempts##i.govt ranked_member i.party_no##i.year if (party_no==8 | party_no==7)
note: 8.party_no#2008.year omitted because of collinearity

      Source |       SS           df       MS      Number of obs   =       255
-------------+----------------------------------   F(10, 244)      =     19.41
       Model |   2.9475832        10   .29475832   Prob > F        =    0.0000
    Residual |   3.7059533       244  .015188333   R-squared       =    0.4430
-------------+----------------------------------   Adj R-squared   =    0.4202
       Total |   6.6535365       254  .026195026   Root MSE        =    .12324

--------------------------------------------------------------------------------------------------
                       ch_margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
---------------------------------+----------------------------------------------------------------
                        attempts |  -.0002704   .0020652    -0.13   0.896    -.0043383    .0037975
                          1.govt |   .0120129   .0270546     0.44   0.657    -.0412774    .0653031
                                 |
                 govt#c.attempts |
                              1  |  -.0023471   .0043508    -0.54   0.590     -.010917    .0062228
                                 |
                   ranked_member |  -.0001019   .0208682    -0.00   0.996    -.0412066    .0410029
                                 |
                        party_no |
     new zealand national party  |  -.0628318   .0228122    -2.75   0.006    -.1077657   -.0178978
                                 |
                            year |
                           2002  |   -.269184   .0280372    -9.60   0.000    -.3244098   -.2139583
                           2005  |  -.1814997   .0308271    -5.89   0.000    -.2422208   -.1207785
                           2008  |   .0053372   .0228033     0.23   0.815    -.0395792    .0502537
                                 |
                   party_no#year |
new zealand national party#2002  |    .392818   .0462468     8.49   0.000     .3017242    .4839119
new zealand national party#2005  |   .2895226   .0455491     6.36   0.000      .199803    .3792422
new zealand national party#2008  |          0  (omitted)
                                 |
                           _cons |   .0688916   .0244935     2.81   0.005     .0206459    .1171372
--------------------------------------------------------------------------------------------------

. reg ch_margin c.unique##i.govt ranked_member i.party_no##i.year if (party_no==8 | party_no==7)
note: 8.party_no#2008.year omitted because of collinearity

      Source |       SS           df       MS      Number of obs   =       255
-------------+----------------------------------   F(10, 244)      =     19.52
       Model |  2.95689802        10  .295689802   Prob > F        =    0.0000
    Residual |  3.69663848       244  .015150158   R-squared       =    0.4444
-------------+----------------------------------   Adj R-squared   =    0.4216
       Total |   6.6535365       254  .026195026   Root MSE        =    .12309

--------------------------------------------------------------------------------------------------
                       ch_margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
---------------------------------+----------------------------------------------------------------
                          unique |  -.0138809   .0141127    -0.98   0.326    -.0416793    .0139174
                          1.govt |  -.0011986   .0286192    -0.04   0.967    -.0575707    .0551735
                                 |
                   govt#c.unique |
                              1  |   .0062197   .0250514     0.25   0.804     -.043125    .0555644
                                 |
                   ranked_member |   .0018539    .021226     0.09   0.930    -.0399556    .0436634
                                 |
                        party_no |
     new zealand national party  |  -.0600606    .022839    -2.63   0.009    -.1050473   -.0150739
                                 |
                            year |
                           2002  |  -.2668358   .0277105    -9.63   0.000    -.3214181   -.2122535
                           2005  |  -.1806499   .0307508    -5.87   0.000    -.2412209    -.120079
                           2008  |   .0039739   .0228392     0.17   0.862    -.0410132     .048961
                                 |
                   party_no#year |
new zealand national party#2002  |   .3857831   .0462646     8.34   0.000     .2946542    .4769121
new zealand national party#2005  |   .2852659   .0456081     6.25   0.000       .19543    .3751018
new zealand national party#2008  |          0  (omitted)
                                 |
                           _cons |   .0789561   .0258156     3.06   0.002     .0281062     .129806
--------------------------------------------------------------------------------------------------

. reg ch_margin c.drawn##i.govt ranked_member i.party_no##i.year if (party_no==8 | party_no==7)
note: 8.party_no#2008.year omitted because of collinearity

      Source |       SS           df       MS      Number of obs   =       255
-------------+----------------------------------   F(10, 244)      =     19.32
       Model |  2.94030646        10  .294030646   Prob > F        =    0.0000
    Residual |  3.71323004       244  .015218156   R-squared       =    0.4419
-------------+----------------------------------   Adj R-squared   =    0.4190
       Total |   6.6535365       254  .026195026   Root MSE        =    .12336

--------------------------------------------------------------------------------------------------
                       ch_margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
---------------------------------+----------------------------------------------------------------
                           drawn |   -.003436   .0263149    -0.13   0.896    -.0552694    .0483974
                          1.govt |   .0063424   .0247799     0.26   0.798    -.0424673    .0551521
                                 |
                    govt#c.drawn |
                              1  |   .0042451   .0414679     0.10   0.919    -.0774357     .085926
                                 |
                   ranked_member |   .0043692   .0202607     0.22   0.829     -.035539    .0442774
                                 |
                        party_no |
     new zealand national party  |  -.0633768   .0227147    -2.79   0.006    -.1081187   -.0186349
                                 |
                            year |
                           2002  |  -.2657445   .0276203    -9.62   0.000    -.3201492   -.2113399
                           2005  |  -.1803131   .0308399    -5.85   0.000    -.2410596   -.1195666
                           2008  |   .0057847   .0227138     0.25   0.799    -.0389555    .0505249
                                 |
                   party_no#year |
new zealand national party#2002  |   .3898486   .0460137     8.47   0.000     .2992138    .4804834
new zealand national party#2005  |     .28903     .04572     6.32   0.000     .1989737    .3790863
new zealand national party#2008  |          0  (omitted)
                                 |
                           _cons |   .0682761   .0234388     2.91   0.004     .0221079    .1144442
--------------------------------------------------------------------------------------------------

. 
. **********************************************************************
. *** END: TABLE B11: Change in Margin of Victory Party-Year Dummies
. **********************************************************************
. 
. 
. **********************************************************************
. *** TABLE B12: Change in Margin of Victory by No. Attempts
. **********************************************************************
. 
. reg ch_margin c.drawn##i.govt ranked_member if attempts<6

      Source |       SS           df       MS      Number of obs   =       223
-------------+----------------------------------   F(4, 218)       =      7.25
       Model |  .760257729         4  .190064432   Prob > F        =    0.0000
    Residual |  5.71326507       218  .026207638   R-squared       =    0.1174
-------------+----------------------------------   Adj R-squared   =    0.1012
       Total |   6.4735228       222  .029160013   Root MSE        =    .16189

-------------------------------------------------------------------------------
    ch_margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .0866936   .0524885     1.65   0.100    -.0167563    .1901435
       1.govt |  -.0894929    .026296    -3.40   0.001    -.1413198    -.037666
              |
 govt#c.drawn |
           1  |  -.0646151   .0825708    -0.78   0.435    -.2273544    .0981241
              |
ranked_member |  -.0281092   .0262107    -1.07   0.285    -.0797681    .0235496
        _cons |   .0487682    .019301     2.53   0.012     .0107277    .0868086
-------------------------------------------------------------------------------

. reg ch_margin c.drawn##i.govt ranked_member if attempts>5 & attempts<11

      Source |       SS           df       MS      Number of obs   =        35
-------------+----------------------------------   F(4, 30)        =      0.68
       Model |  .060213538         4  .015053385   Prob > F        =    0.6120
    Residual |  .665301778        30  .022176726   R-squared       =    0.0830
-------------+----------------------------------   Adj R-squared   =   -0.0393
       Total |  .725515317        34  .021338686   Root MSE        =    .14892

-------------------------------------------------------------------------------
    ch_margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .0395632   .0564783     0.70   0.489     -.075781    .1549073
       1.govt |    .008197   .0667391     0.12   0.903    -.1281024    .1444965
              |
 govt#c.drawn |
           1  |  -.0792935   .0861944    -0.92   0.365    -.2553259    .0967389
              |
ranked_member |  -.1530892   .1574349    -0.97   0.339    -.4746142    .1684357
        _cons |   .0086271   .0389738     0.22   0.826    -.0709679    .0882222
-------------------------------------------------------------------------------

. reg ch_margin c.drawn##i.govt ranked_member if attempts>10 

      Source |       SS           df       MS      Number of obs   =        71
-------------+----------------------------------   F(4, 66)        =      1.36
       Model |  .112740129         4  .028185032   Prob > F        =    0.2566
    Residual |  1.36555144        66  .020690173   R-squared       =    0.0763
-------------+----------------------------------   Adj R-squared   =    0.0203
       Total |  1.47829157        70  .021118451   Root MSE        =    .14384

-------------------------------------------------------------------------------
    ch_margin |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   -.008906   .0190626    -0.47   0.642    -.0469658    .0291538
       1.govt |   .0523574   .0756149     0.69   0.491    -.0986127    .2033275
              |
 govt#c.drawn |
           1  |  -.2428568   .1619447    -1.50   0.138      -.56619    .0804763
              |
ranked_member |   .1651562   .1043559     1.58   0.118    -.0431972    .3735095
        _cons |  -.0085864   .0233469    -0.37   0.714    -.0551999    .0380271
-------------------------------------------------------------------------------

. 
. **********************************************************************
. *** END: TABLE B12: Change in Margin of Victory by No. Attempts 
. **********************************************************************
. 
. 
. *** Use for tables C13-D14
. use "PSRM_table2.dta", clear

. 
. **********************************************************************
. *** TABLE C13: Conditioning on number of attempts - Conditional logit
. **********************************************************************
. 
. ologit approvemp drawn lrdist likeMpParty jelecmpshand ranked_member i.surveyyear /// 
>  if attempts >0 & attempts < 6 & minister==0

note: ranked_member omitted because of collinearity
Iteration 0:   log likelihood = -1883.6248  
Iteration 1:   log likelihood = -1666.2778  
Iteration 2:   log likelihood = -1657.8591  
Iteration 3:   log likelihood = -1657.8487  
Iteration 4:   log likelihood = -1657.8487  

Ordered logistic regression                     Number of obs     =      1,386
                                                LR chi2(7)        =     451.55
                                                Prob > chi2       =     0.0000
Log likelihood = -1657.8487                     Pseudo R2         =     0.1199

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .2800948     .10922     2.56   0.010     .0660276     .494162
       lrdist |   .0197368    .025763     0.77   0.444    -.0307578    .0702314
  likeMpParty |   .2579437   .0226277    11.40   0.000     .2135942    .3022932
 jelecmpshand |  -.8786163   .0742769   -11.83   0.000    -1.024196   -.7330362
ranked_member |          0  (omitted)
              |
   surveyyear |
        2002  |   .2735065   .1532431     1.78   0.074    -.0268445    .5738575
        2005  |  -.2978563   .1444208    -2.06   0.039    -.5809159   -.0147967
        2011  |   .1697209   .1295885     1.31   0.190    -.0842678    .4237097
--------------+----------------------------------------------------------------
        /cut1 |  -4.325102   .3375716                      -4.98673   -3.663474
        /cut2 |  -2.738494   .3164542                     -3.358733   -2.118255
        /cut3 |  -.4330069   .3085217                     -1.037698    .1716845
        /cut4 |   2.060608   .3146066                       1.44399    2.677226
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 1.397e-37
P-value for cutoff 2: 4.986e-18
P-value for cutoff 3: .160471
P-value for cutoff 4: 5.762e-11

. 
. ologit approvemp drawn lrdist likeMpParty jelecmpshand ranked_member i.surveyyear /// 
>  if attempts >5 & attempts < 11 & minister==0

Iteration 0:   log likelihood = -1118.8583  
Iteration 1:   log likelihood = -979.81684  
Iteration 2:   log likelihood = -974.34202  
Iteration 3:   log likelihood = -974.33692  
Iteration 4:   log likelihood = -974.33692  

Ordered logistic regression                     Number of obs     =        857
                                                LR chi2(8)        =     289.04
                                                Prob > chi2       =     0.0000
Log likelihood = -974.33692                     Pseudo R2         =     0.1292

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |    .403583   .1078826     3.74   0.000      .192137    .6150291
       lrdist |  -.0778113   .0341288    -2.28   0.023    -.1447025   -.0109202
  likeMpParty |   .1823875   .0284576     6.41   0.000     .1266116    .2381634
 jelecmpshand |  -1.211689   .1055972   -11.47   0.000    -1.418656   -1.004722
ranked_member |    .246177   .3011565     0.82   0.414     -.344079    .8364329
              |
   surveyyear |
        2002  |   .0404887   .1708298     0.24   0.813    -.2943316    .3753089
        2005  |  -.6986622   .2241321    -3.12   0.002    -1.137953   -.2593714
        2011  |   .1922368   .2337076     0.82   0.411    -.2658217    .6502953
--------------+----------------------------------------------------------------
        /cut1 |  -6.361352   .5052758                     -7.351675    -5.37103
        /cut2 |  -4.577911   .4614905                     -5.482416   -3.673407
        /cut3 |  -2.109576   .4410396                     -2.973998   -1.245154
        /cut4 |   .4756097   .4363687                     -.3796571    1.330877
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 2.401e-36
P-value for cutoff 2: 3.413e-23
P-value for cutoff 3: 1.725e-06
P-value for cutoff 4: .27574555

. 
. ologit approvemp drawn lrdist likeMpParty jelecmpshand ranked_member i.surveyyear /// 
>  if attempts >10 & minister==0

Iteration 0:   log likelihood = -1099.7376  
Iteration 1:   log likelihood = -974.88705  
Iteration 2:   log likelihood = -969.87551  
Iteration 3:   log likelihood = -969.84177  
Iteration 4:   log likelihood = -969.84176  

Ordered logistic regression                     Number of obs     =        830
                                                LR chi2(8)        =     259.79
                                                Prob > chi2       =     0.0000
Log likelihood = -969.84176                     Pseudo R2         =     0.1181

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .1301423   .1138036     1.14   0.253    -.0929086    .3531932
       lrdist |  -.0487587   .0348521    -1.40   0.162    -.1170676    .0195502
  likeMpParty |    .221023   .0294627     7.50   0.000     .1632772    .2787687
 jelecmpshand |  -1.205251   .1067624   -11.29   0.000    -1.414501   -.9960003
ranked_member |   1.639628   .7882089     2.08   0.038     .0947666    3.184489
              |
   surveyyear |
        2002  |  -.0565563   .1777244    -0.32   0.750    -.4048899    .2917772
        2005  |  -.1040686   .1885543    -0.55   0.581    -.4736282    .2654911
        2011  |  -.1663477   .2391029    -0.70   0.487    -.6349808    .3022853
--------------+----------------------------------------------------------------
        /cut1 |  -6.201554   .5017795                     -7.185024   -5.218084
        /cut2 |  -4.542753   .4590105                     -5.442397   -3.643108
        /cut3 |  -2.228877   .4357245                     -3.082881   -1.374873
        /cut4 |   .2388244   .4298027                     -.6035735    1.081222
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 4.349e-35
P-value for cutoff 2: 4.296e-23
P-value for cutoff 3: 3.132e-07
P-value for cutoff 4: .57844304

. 
. **********************************************************************
. *** TABLE C13: Conditioning on number of attempts - Conditional logit
. **********************************************************************
. 
. 
. ********************************************************************
. *** TABLE D14: Knows MP name
. ********************************************************************
. **** Conditioning on number of attempts (ranges) - Conditional logit II (Appendix)
. 
. logit knowsmp attempts lrdist jelecmpshand likeMpParty ranked_member i.surveyyear if  minister==0 

Iteration 0:   log likelihood = -4956.4532  
Iteration 1:   log likelihood = -4831.3341  
Iteration 2:   log likelihood = -4830.9662  
Iteration 3:   log likelihood = -4830.9662  

Logistic regression                             Number of obs     =      7,531
                                                LR chi2(8)        =     250.97
                                                Prob > chi2       =     0.0000
Log likelihood = -4830.9662                     Pseudo R2         =     0.0253

-------------------------------------------------------------------------------
      knowsmp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
     attempts |    .037307   .0054051     6.90   0.000     .0267132    .0479009
       lrdist |  -.0266417   .0125014    -2.13   0.033     -.051144   -.0021393
 jelecmpshand |  -.2193556   .0331433    -6.62   0.000    -.2843152    -.154396
  likeMpParty |   .0313542   .0100623     3.12   0.002     .0116325    .0510759
ranked_member |   .2343563   .1116763     2.10   0.036     .0154749    .4532378
              |
   surveyyear |
        2002  |  -.6628504   .0639445   -10.37   0.000    -.7881794   -.5375214
        2005  |  -.1215498   .0708168    -1.72   0.086    -.2603481    .0172484
        2011  |  -.2353512   .0721153    -3.26   0.001    -.3766945   -.0940079
              |
        _cons |   1.197207   .1463933     8.18   0.000     .9102813    1.484133
-------------------------------------------------------------------------------

.  
. logit knowsmp unique lrdist jelecmpshand likeMpParty ranked_member i.surveyyear if  minister==0 

Iteration 0:   log likelihood = -4956.4532  
Iteration 1:   log likelihood = -4828.6228  
Iteration 2:   log likelihood = -4828.1846  
Iteration 3:   log likelihood = -4828.1846  

Logistic regression                             Number of obs     =      7,531
                                                LR chi2(8)        =     256.54
                                                Prob > chi2       =     0.0000
Log likelihood = -4828.1846                     Pseudo R2         =     0.0259

-------------------------------------------------------------------------------
      knowsmp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
       unique |   .2063134   .0284656     7.25   0.000     .1505218     .262105
       lrdist |  -.0262898   .0125074    -2.10   0.036    -.0508038   -.0017757
 jelecmpshand |  -.2207975   .0331617    -6.66   0.000    -.2857933   -.1558017
  likeMpParty |   .0330049   .0100782     3.27   0.001     .0132519    .0527579
ranked_member |   .2436683   .1119229     2.18   0.029     .0243035    .4630331
              |
   surveyyear |
        2002  |  -.6283022   .0638598    -9.84   0.000    -.7534652   -.5031392
        2005  |  -.0995587   .0708653    -1.40   0.160     -.238452    .0393347
        2011  |  -.2406439    .072096    -3.34   0.001    -.3819495   -.0993383
              |
        _cons |   1.157729   .1471205     7.87   0.000     .8693777     1.44608
-------------------------------------------------------------------------------

. 
. logit knowsmp drawn lrdist jelecmpshand likeMpParty ranked_member i.surveyyear if  minister==0 

Iteration 0:   log likelihood = -4956.4532  
Iteration 1:   log likelihood = -4848.9429  
Iteration 2:   log likelihood = -4848.6738  
Iteration 3:   log likelihood = -4848.6738  

Logistic regression                             Number of obs     =      7,531
                                                LR chi2(8)        =     215.56
                                                Prob > chi2       =     0.0000
Log likelihood = -4848.6738                     Pseudo R2         =     0.0217

-------------------------------------------------------------------------------
      knowsmp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .1911169   .0519365     3.68   0.000     .0893232    .2929105
       lrdist |  -.0274212   .0124736    -2.20   0.028     -.051869   -.0029733
 jelecmpshand |  -.2223466   .0330862    -6.72   0.000    -.2871944   -.1574988
  likeMpParty |    .029694    .010034     2.96   0.003     .0100277    .0493603
ranked_member |   .1604931   .1112966     1.44   0.149    -.0576442    .3786304
              |
   surveyyear |
        2002  |   -.630905   .0636848    -9.91   0.000    -.7557249    -.506085
        2005  |  -.1116373   .0706356    -1.58   0.114    -.2500806    .0268059
        2011  |  -.2550412   .0719426    -3.55   0.000    -.3960461   -.1140363
              |
        _cons |   1.279106   .1456831     8.78   0.000     .9935721    1.564639
-------------------------------------------------------------------------------

. 
. logit knowsmp drawn unique attempts lrdist likeMpParty jelecmpshand ranked_member i.surveyyear  /// 
>  if  minister==0

Iteration 0:   log likelihood = -4956.4532  
Iteration 1:   log likelihood = -4825.9279  
Iteration 2:   log likelihood = -4825.4968  
Iteration 3:   log likelihood = -4825.4968  

Logistic regression                             Number of obs     =      7,531
                                                LR chi2(10)       =     261.91
                                                Prob > chi2       =     0.0000
Log likelihood = -4825.4968                     Pseudo R2         =     0.0264

-------------------------------------------------------------------------------
      knowsmp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   -.130009   .0718882    -1.81   0.071    -.2709073    .0108893
       unique |   .1975104   .0602147     3.28   0.001     .0794917    .3155291
     attempts |   .0129222   .0098976     1.31   0.192    -.0064767    .0323211
       lrdist |  -.0260894   .0125105    -2.09   0.037    -.0506095   -.0015693
  likeMpParty |    .033242   .0100888     3.29   0.001     .0134683    .0530156
 jelecmpshand |   -.220889   .0331812    -6.66   0.000     -.285923   -.1558551
ranked_member |   .2661327   .1123058     2.37   0.018     .0460174     .486248
              |
   surveyyear |
        2002  |  -.6424696   .0645065    -9.96   0.000    -.7689001   -.5160391
        2005  |  -.1043504   .0711226    -1.47   0.142    -.2437482    .0350474
        2011  |  -.2384571   .0721796    -3.30   0.001    -.3799265   -.0969876
              |
        _cons |    1.15684   .1471798     7.86   0.000     .8683727    1.445307
-------------------------------------------------------------------------------

. 
. logit knowsmp drawn lrdist likeMpParty jelecmpshand ranked_member i.surveyyear  /// 
>  if attempts > 0 

Iteration 0:   log likelihood = -2306.3566  
Iteration 1:   log likelihood = -2246.3371  
Iteration 2:   log likelihood = -2245.9875  
Iteration 3:   log likelihood = -2245.9874  

Logistic regression                             Number of obs     =      3,706
                                                LR chi2(8)        =     120.74
                                                Prob > chi2       =     0.0000
Log likelihood = -2245.9874                     Pseudo R2         =     0.0262

-------------------------------------------------------------------------------
      knowsmp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |  -.0617563   .0633197    -0.98   0.329    -.1858605     .062348
       lrdist |   .0025493   .0184004     0.14   0.890    -.0335148    .0386135
  likeMpParty |   .0643172   .0150039     4.29   0.000     .0349101    .0937244
 jelecmpshand |  -.2838136   .0489801    -5.79   0.000    -.3798129   -.1878142
ranked_member |    .308971   .1299595     2.38   0.017      .054255     .563687
              |
   surveyyear |
        2002  |  -.4011194   .0989325    -4.05   0.000    -.5950236   -.2072153
        2005  |   .2215611   .1149484     1.93   0.054    -.0037336    .4468557
        2011  |  -.2992162    .109219    -2.74   0.006    -.5132815   -.0851509
              |
        _cons |   1.335469   .2171126     6.15   0.000     .9099363    1.761002
-------------------------------------------------------------------------------

. 
. ********************************************************************
. *** END: TABLE D14: Knows MP name
. ********************************************************************
. 
. 
. ********************************************************************
. *** TABLE E15: Approval: Ideologically close 
. *** NOTE: These results (E15-17) were not included in the appendix of the
. *** manuscript that was conditionally accepted but are included
. *** now in response to one of the referee's suggestion.
. ********************************************************************
. 
. ologit approvemp attempts lrdist jelecmpshand likeMpParty ranked_member i.surveyyear if  minister==0 & lrdist<3

Iteration 0:   log likelihood = -5612.0994  
Iteration 1:   log likelihood = -4986.4426  
Iteration 2:   log likelihood = -4964.4994  
Iteration 3:   log likelihood = -4964.4789  
Iteration 4:   log likelihood = -4964.4789  

Ordered logistic regression                     Number of obs     =      4,335
                                                LR chi2(8)        =    1295.24
                                                Prob > chi2       =     0.0000
Log likelihood = -4964.4789                     Pseudo R2         =     0.1154

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
     attempts |   .0422057   .0061968     6.81   0.000     .0300602    .0543511
       lrdist |  -.1032393   .0377204    -2.74   0.006    -.1771699   -.0293088
 jelecmpshand |  -1.231567   .0460797   -26.73   0.000    -1.321882   -1.141253
  likeMpParty |   .2094855   .0138985    15.07   0.000      .182245    .2367261
ranked_member |  -.1830185    .132849    -1.38   0.168    -.4433978    .0773608
              |
   surveyyear |
        2002  |  -.0530618   .0755161    -0.70   0.482    -.2010706     .094947
        2005  |  -.1797033   .0840772    -2.14   0.033    -.3444916    -.014915
        2011  |     .10466   .0849254     1.23   0.218    -.0617908    .2711107
--------------+----------------------------------------------------------------
        /cut1 |  -6.074219   .2199806                     -6.505373   -5.643065
        /cut2 |  -4.347311   .2003314                     -4.739954   -3.954669
        /cut3 |  -1.934776   .1912052                     -2.309531   -1.560021
        /cut4 |   .6121757   .1886126                      .2425019    .9818496
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 7.87e-168
P-value for cutoff 2: 2.02e-104
P-value for cutoff 3: 4.557e-24
P-value for cutoff 4: .00117171

. 
. ologit approvemp unique lrdist jelecmpshand likeMpParty ranked_member i.surveyyear if  minister==0 & lrdist<3 

Iteration 0:   log likelihood = -5612.0994  
Iteration 1:   log likelihood = -4990.6896  
Iteration 2:   log likelihood =  -4969.106  
Iteration 3:   log likelihood = -4969.0852  
Iteration 4:   log likelihood = -4969.0852  

Ordered logistic regression                     Number of obs     =      4,335
                                                LR chi2(8)        =    1286.03
                                                Prob > chi2       =     0.0000
Log likelihood = -4969.0852                     Pseudo R2         =     0.1146

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
       unique |   .1969848   .0322739     6.10   0.000     .1337291    .2602404
       lrdist |    -.10213   .0377096    -2.71   0.007    -.1760395   -.0282206
 jelecmpshand |  -1.228715    .046064   -26.67   0.000    -1.318999   -1.138431
  likeMpParty |   .2103209   .0139106    15.12   0.000     .1830566    .2375852
ranked_member |  -.1951392   .1326728    -1.47   0.141    -.4551731    .0648947
              |
   surveyyear |
        2002  |  -.0161569   .0753655    -0.21   0.830    -.1638707    .1315568
        2005  |  -.1528177    .084035    -1.82   0.069    -.3175233    .0118879
        2011  |   .0949848   .0848562     1.12   0.263    -.0713304       .2613
--------------+----------------------------------------------------------------
        /cut1 |  -6.042334   .2204635                     -6.474434   -5.610233
        /cut2 |  -4.318485    .200943                     -4.712326   -3.924644
        /cut3 |   -1.90895   .1919451                     -2.285156   -1.532744
        /cut4 |   .6346947   .1894576                      .2633647    1.006025
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 2.24e-165
P-value for cutoff 2: 1.89e-102
P-value for cutoff 3: 2.644e-23
P-value for cutoff 4: .00080793

. 
. ologit approvemp drawn lrdist jelecmpshand likeMpParty ranked_member i.surveyyear if  minister==0 & lrdist<3 

Iteration 0:   log likelihood = -5612.0994  
Iteration 1:   log likelihood =  -4984.857  
Iteration 2:   log likelihood = -4962.9691  
Iteration 3:   log likelihood = -4962.9493  
Iteration 4:   log likelihood = -4962.9493  

Ordered logistic regression                     Number of obs     =      4,335
                                                LR chi2(8)        =    1298.30
                                                Prob > chi2       =     0.0000
Log likelihood = -4962.9493                     Pseudo R2         =     0.1157

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .4251887   .0604212     7.04   0.000     .3067652    .5436121
       lrdist |   -.095871   .0377276    -2.54   0.011    -.1698158   -.0219262
 jelecmpshand |  -1.227133   .0460953   -26.62   0.000    -1.317478   -1.136788
  likeMpParty |   .2077952   .0138898    14.96   0.000     .1805716    .2350188
ranked_member |  -.2988883    .132243    -2.26   0.024    -.5580798   -.0396968
              |
   surveyyear |
        2002  |  -.0051591   .0754014    -0.07   0.945     -.152943    .1426249
        2005  |  -.1601286    .084102    -1.90   0.057    -.3249654    .0047082
        2011  |   .0906337    .084817     1.07   0.285    -.0756045    .2568719
--------------+----------------------------------------------------------------
        /cut1 |  -6.087074   .2197952                     -6.517865   -5.656283
        /cut2 |  -4.362628   .2001943                     -4.755001   -3.970254
        /cut3 |  -1.948212   .1910115                     -2.322588   -1.573837
        /cut4 |   .5998743   .1883893                      .2306382    .9691105
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 8.18e-169
P-value for cutoff 2: 2.77e-105
P-value for cutoff 3: 1.994e-24
P-value for cutoff 4: .00145141

. 
. ologit approvemp drawn unique attempts lrdist likeMpParty jelecmpshand ranked_member i.surveyyear  /// 
>         if  minister==0 & lrdist<3

Iteration 0:   log likelihood = -5612.0994  
Iteration 1:   log likelihood = -4978.0517  
Iteration 2:   log likelihood = -4955.5976  
Iteration 3:   log likelihood = -4955.5779  
Iteration 4:   log likelihood = -4955.5779  

Ordered logistic regression                     Number of obs     =      4,335
                                                LR chi2(10)       =    1313.04
                                                Prob > chi2       =     0.0000
Log likelihood = -4955.5779                     Pseudo R2         =     0.1170

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .3425867   .0828075     4.14   0.000      .180287    .5048864
       unique |  -.0905893   .0663328    -1.37   0.172    -.2205993    .0394206
     attempts |    .037689   .0110732     3.40   0.001      .015986     .059392
       lrdist |  -.0988491   .0377552    -2.62   0.009    -.1728479   -.0248503
  likeMpParty |   .2088289   .0139223    15.00   0.000     .1815416    .2361162
 jelecmpshand |  -1.231463   .0461195   -26.70   0.000    -1.321856   -1.141071
ranked_member |  -.2532807   .1336894    -1.89   0.058    -.5153071    .0087457
              |
   surveyyear |
        2002  |  -.0387608   .0760357    -0.51   0.610    -.1877881    .1102664
        2005  |  -.1813955   .0844026    -2.15   0.032    -.3468217   -.0159694
        2011  |   .1069296   .0849733     1.26   0.208    -.0596151    .2734742
--------------+----------------------------------------------------------------
        /cut1 |  -6.074562   .2207267                     -6.507178   -5.641945
        /cut2 |  -4.346075   .2011479                     -4.740317   -3.951832
        /cut3 |  -1.926104   .1920401                     -2.302496   -1.549713
        /cut4 |   .6269887   .1895028                      .2555699    .9984074
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 9.92e-167
P-value for cutoff 2: 1.57e-103
P-value for cutoff 3: 1.129e-23
P-value for cutoff 4: .00093764

. 
. ologit approvemp drawn lrdist likeMpParty jelecmpshand ranked_member i.surveyyear  /// 
>         if attempts > 0 & lrdist<3 

Iteration 0:   log likelihood = -2727.2309  
Iteration 1:   log likelihood = -2459.8239  
Iteration 2:   log likelihood = -2452.3284  
Iteration 3:   log likelihood = -2452.3191  
Iteration 4:   log likelihood = -2452.3191  

Ordered logistic regression                     Number of obs     =      2,161
                                                LR chi2(8)        =     549.82
                                                Prob > chi2       =     0.0000
Log likelihood = -2452.3191                     Pseudo R2         =     0.1008

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .3133584   .0742906     4.22   0.000     .1677515    .4589653
       lrdist |  -.1104213   .0533835    -2.07   0.039     -.215051   -.0057915
  likeMpParty |   .2459135    .020043    12.27   0.000     .2066299    .2851972
 jelecmpshand |  -.9748075   .0624584   -15.61   0.000    -1.097224   -.8523912
ranked_member |   .3596193   .1416012     2.54   0.011     .0820861    .6371526
              |
   surveyyear |
        2002  |   .1554071   .1144806     1.36   0.175    -.0689709     .379785
        2005  |  -.1217989    .129537    -0.94   0.347    -.3756868    .1320889
        2011  |   .0422963   .1296239     0.33   0.744     -.211762    .2963545
--------------+----------------------------------------------------------------
        /cut1 |  -5.039924   .3070393                      -5.64171   -4.438138
        /cut2 |  -3.441265   .2777138                     -3.985574   -2.896956
        /cut3 |   -1.01459   .2683092                     -1.540467   -.4887139
        /cut4 |   1.549571   .2681924                      1.023923    2.075218
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 1.504e-60
P-value for cutoff 2: 2.909e-35
P-value for cutoff 3: .00015594
P-value for cutoff 4: 7.567e-09

. 
.  
. ********************************************************************
. *** END: TABLE E15: Approval: Ideologically close 
. ********************************************************************
. 
. ********************************************************************
. *** TABLE E16: Approval: Ideologically far 
. ********************************************************************
.  
. ologit approvemp attempts lrdist jelecmpshand likeMpParty ranked_member i.surveyyear if  minister==0 & lrdist>=3

Iteration 0:   log likelihood = -3810.3286  
Iteration 1:   log likelihood = -3427.3779  
Iteration 2:   log likelihood = -3411.3505  
Iteration 3:   log likelihood = -3411.3054  
Iteration 4:   log likelihood = -3411.3054  

Ordered logistic regression                     Number of obs     =      2,767
                                                LR chi2(8)        =     798.05
                                                Prob > chi2       =     0.0000
Log likelihood = -3411.3054                     Pseudo R2         =     0.1047

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
     attempts |   .0202047   .0076601     2.64   0.008     .0051912    .0352182
       lrdist |    .011779   .0209263     0.56   0.574    -.0292359    .0527939
 jelecmpshand |  -1.108416   .0533617   -20.77   0.000    -1.213003   -1.003829
  likeMpParty |   .1757922   .0136727    12.86   0.000     .1489941    .2025902
ranked_member |  -.0925045   .1554447    -0.60   0.552    -.3971706    .2121616
              |
   surveyyear |
        2002  |   .2638567   .0932716     2.83   0.005     .0810478    .4466657
        2005  |  -.1402638    .099802    -1.41   0.160     -.335872    .0553445
        2011  |   .1726929   .1089421     1.59   0.113    -.0408297    .3862156
--------------+----------------------------------------------------------------
        /cut1 |    -5.3943   .2531508                     -5.890466   -4.898133
        /cut2 |  -3.775676   .2386003                     -4.243324   -3.308028
        /cut3 |  -1.457294    .228948                     -1.906024   -1.008564
        /cut4 |   .8239958   .2340741                       .365219    1.282773
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 9.44e-101
P-value for cutoff 2: 2.116e-56
P-value for cutoff 3: 1.951e-10
P-value for cutoff 4: .00043116

. 
. ologit approvemp unique lrdist jelecmpshand likeMpParty ranked_member i.surveyyear if  minister==0 & lrdist>=3 

Iteration 0:   log likelihood = -3810.3286  
Iteration 1:   log likelihood = -3429.3217  
Iteration 2:   log likelihood = -3413.4531  
Iteration 3:   log likelihood = -3413.4082  
Iteration 4:   log likelihood = -3413.4082  

Ordered logistic regression                     Number of obs     =      2,767
                                                LR chi2(8)        =     793.84
                                                Prob > chi2       =     0.0000
Log likelihood = -3413.4082                     Pseudo R2         =     0.1042

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
       unique |   .0661426    .039829     1.66   0.097    -.0119207     .144206
       lrdist |   .0117521   .0209259     0.56   0.574    -.0292619    .0527662
 jelecmpshand |  -1.113443   .0533374   -20.88   0.000    -1.217982   -1.008903
  likeMpParty |   .1757949   .0136823    12.85   0.000     .1489781    .2026117
ranked_member |  -.1058967   .1555166    -0.68   0.496    -.4107037    .1989103
              |
   surveyyear |
        2002  |   .2773126   .0934639     2.97   0.003     .0941267    .4604985
        2005  |   -.131842    .099987    -1.32   0.187    -.3278129    .0641289
        2011  |   .1614436   .1087958     1.48   0.138    -.0517924    .3746795
--------------+----------------------------------------------------------------
        /cut1 |  -5.421689    .254033                     -5.919585   -4.923794
        /cut2 |  -3.804232   .2395134                      -4.27367   -3.334794
        /cut3 |  -1.488153   .2298092                     -1.938571   -1.037735
        /cut4 |   .7911297   .2347909                      .3309481    1.251311
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 4.58e-101
P-value for cutoff 2: 8.288e-57
P-value for cutoff 3: 9.443e-11
P-value for cutoff 4: .00075303

. 
. ologit approvemp drawn lrdist jelecmpshand likeMpParty ranked_member i.surveyyear if  minister==0 & lrdist>=3 

Iteration 0:   log likelihood = -3810.3286  
Iteration 1:   log likelihood = -3423.7476  
Iteration 2:   log likelihood = -3407.4297  
Iteration 3:   log likelihood = -3407.3844  
Iteration 4:   log likelihood = -3407.3844  

Ordered logistic regression                     Number of obs     =      2,767
                                                LR chi2(8)        =     805.89
                                                Prob > chi2       =     0.0000
Log likelihood = -3407.3844                     Pseudo R2         =     0.1058

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .2765622   .0719859     3.84   0.000     .1354725    .4176519
       lrdist |   .0109784    .020931     0.52   0.600    -.0300455    .0520023
 jelecmpshand |  -1.110463   .0532619   -20.85   0.000    -1.214854   -1.006071
  likeMpParty |   .1758277   .0136707    12.86   0.000     .1490336    .2026219
ranked_member |  -.1416916   .1545355    -0.92   0.359    -.4445757    .1611925
              |
   surveyyear |
        2002  |    .297631   .0936148     3.18   0.001     .1141494    .4811125
        2005  |  -.1213617    .100043    -1.21   0.225    -.3174423    .0747189
        2011  |   .1823812   .1089541     1.67   0.094    -.0311648    .3959272
--------------+----------------------------------------------------------------
        /cut1 |  -5.391713   .2517799                     -5.885193   -4.898234
        /cut2 |  -3.769487   .2371083                     -4.234211   -3.304763
        /cut3 |  -1.447263   .2273954                      -1.89295   -1.001576
        /cut4 |   .8359056   .2324998                      .3802143    1.291597
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 9.81e-102
P-value for cutoff 2: 6.569e-57
P-value for cutoff 3: 1.959e-10
P-value for cutoff 4: .00032402

. 
. ologit approvemp drawn unique attempts lrdist likeMpParty jelecmpshand ranked_member i.surveyyear  /// 
>  if  minister==0 & lrdist>=3

Iteration 0:   log likelihood = -3810.3286  
Iteration 1:   log likelihood =  -3419.269  
Iteration 2:   log likelihood = -3402.5354  
Iteration 3:   log likelihood = -3402.4891  
Iteration 4:   log likelihood = -3402.4891  

Ordered logistic regression                     Number of obs     =      2,767
                                                LR chi2(10)       =     815.68
                                                Prob > chi2       =     0.0000
Log likelihood = -3402.4891                     Pseudo R2         =     0.1070

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .4148029   .1021431     4.06   0.000     .2146062    .6149997
       unique |   -.268318   .0874437    -3.07   0.002    -.4397045   -.0969315
     attempts |   .0394501   .0143253     2.75   0.006     .0113731    .0675272
       lrdist |   .0110467   .0209242     0.53   0.598     -.029964    .0520573
  likeMpParty |   .1739063   .0136908    12.70   0.000     .1470728    .2007398
 jelecmpshand |  -1.108717   .0533221   -20.79   0.000    -1.213226   -1.004207
ranked_member |  -.1751447   .1565379    -1.12   0.263    -.4819533    .1316638
              |
   surveyyear |
        2002  |   .2646047   .0943201     2.81   0.005     .0797407    .4494688
        2005  |  -.1484529   .1004348    -1.48   0.139    -.3453015    .0483957
        2011  |   .1945591   .1092225     1.78   0.075     -.019513    .4086312
--------------+----------------------------------------------------------------
        /cut1 |  -5.436839   .2539025                     -5.934479   -4.939199
        /cut2 |  -3.811249   .2392363                     -4.280144   -3.342354
        /cut3 |  -1.484405   .2295289                     -1.934273   -1.034537
        /cut4 |   .8027863   .2345371                       .343102    1.262471
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 1.01e-101
P-value for cutoff 2: 3.868e-57
P-value for cutoff 3: 9.985e-11
P-value for cutoff 4: .00061967

. 
. ologit approvemp drawn lrdist likeMpParty jelecmpshand ranked_member i.surveyyear  /// 
>  if attempts > 0 & lrdist>=3

Iteration 0:   log likelihood =   -1850.76  
Iteration 1:   log likelihood = -1675.8225  
Iteration 2:   log likelihood = -1669.4044  
Iteration 3:   log likelihood = -1669.3858  
Iteration 4:   log likelihood = -1669.3858  

Ordered logistic regression                     Number of obs     =      1,352
                                                LR chi2(8)        =     362.75
                                                Prob > chi2       =     0.0000
Log likelihood = -1669.3858                     Pseudo R2         =     0.0980

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .1763929   .0867016     2.03   0.042     .0064609    .3463248
       lrdist |  -.0012781   .0302072    -0.04   0.966    -.0604832     .057927
  likeMpParty |   .1989494   .0203674     9.77   0.000     .1590301    .2388687
 jelecmpshand |  -.9650711   .0762445   -12.66   0.000    -1.114508   -.8156346
ranked_member |   .4001524    .178761     2.24   0.025     .0497873    .7505175
              |
   surveyyear |
        2002  |   .2222363    .141824     1.57   0.117    -.0557336    .5002062
        2005  |  -.2800359   .1531649    -1.83   0.068    -.5802336    .0201619
        2011  |   .2266564   .1598764     1.42   0.156    -.0866956    .5400084
--------------+----------------------------------------------------------------
        /cut1 |   -5.02186   .3655805                     -5.738385   -4.305336
        /cut2 |  -3.374505   .3445119                     -4.049736   -2.699274
        /cut3 |  -1.103406   .3329616                     -1.755999   -.4508135
        /cut4 |   1.179867    .338833                      .5157668    1.843968
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 6.122e-43
P-value for cutoff 2: 1.183e-22
P-value for cutoff 3: .00092
P-value for cutoff 4: .00049741

.  
. ********************************************************************
. *** END: TABLE E16: Approval: Ideologically far 
. ********************************************************************
. 
. ********************************************************************
. *** TABLE E17: Approval: Ideologically very far 
. ********************************************************************
. 
. ologit approvemp attempts lrdist jelecmpshand likeMpParty ranked_member i.surveyyear if  minister==0 & lrdist>5

Iteration 0:   log likelihood = -1090.4149  
Iteration 1:   log likelihood = -989.34577  
Iteration 2:   log likelihood = -985.61494  
Iteration 3:   log likelihood = -985.60417  
Iteration 4:   log likelihood = -985.60417  

Ordered logistic regression                     Number of obs     =        792
                                                LR chi2(8)        =     209.62
                                                Prob > chi2       =     0.0000
Log likelihood = -985.60417                     Pseudo R2         =     0.0961

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
     attempts |   .0019893   .0141815     0.14   0.888    -.0258059    .0297846
       lrdist |   .0457902   .0494344     0.93   0.354    -.0510994    .1426799
 jelecmpshand |  -1.115371   .0981454   -11.36   0.000    -1.307733   -.9230095
  likeMpParty |   .1711697   .0285522     5.99   0.000     .1152084     .227131
ranked_member |   .0725203   .2595723     0.28   0.780     -.436232    .5812726
              |
   surveyyear |
        2002  |   .2015685   .1760189     1.15   0.252    -.1434222    .5465592
        2005  |  -.1326061   .1829228    -0.72   0.468    -.4911282     .225916
        2011  |  -.0112118   .2040597    -0.05   0.956    -.4111614    .3887378
--------------+----------------------------------------------------------------
        /cut1 |  -5.286578   .5557782                     -6.375883   -4.197273
        /cut2 |  -3.589638    .531696                     -4.631743   -2.547533
        /cut3 |  -1.290613   .5175365                     -2.304966   -.2762606
        /cut4 |   .9432193   .5373118                     -.1098924    1.996331
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 1.870e-21
P-value for cutoff 2: 1.465e-11
P-value for cutoff 3: .01263968
P-value for cutoff 4: .07918383

. 
. ologit approvemp unique lrdist jelecmpshand likeMpParty ranked_member i.surveyyear if  minister==0 & lrdist>5 

Iteration 0:   log likelihood = -1090.4149  
Iteration 1:   log likelihood =   -989.323  
Iteration 2:   log likelihood = -985.59946  
Iteration 3:   log likelihood =  -985.5887  
Iteration 4:   log likelihood =  -985.5887  

Ordered logistic regression                     Number of obs     =        792
                                                LR chi2(8)        =     209.65
                                                Prob > chi2       =     0.0000
Log likelihood =  -985.5887                     Pseudo R2         =     0.0961

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
       unique |  -.0166882   .0741721    -0.22   0.822    -.1620629    .1286865
       lrdist |   .0449321   .0493921     0.91   0.363    -.0518747    .1417389
 jelecmpshand |  -1.118855   .0981031   -11.40   0.000    -1.311133   -.9265764
  likeMpParty |   .1705774   .0286105     5.96   0.000     .1145018     .226653
ranked_member |   .0572313   .2603039     0.22   0.826    -.4529549    .5674175
              |
   surveyyear |
        2002  |   .1979588    .176514     1.12   0.262    -.1480022    .5439198
        2005  |  -.1361821   .1836621    -0.74   0.458    -.4961533     .223789
        2011  |  -.0182909    .203926    -0.09   0.929    -.4179786    .3813968
--------------+----------------------------------------------------------------
        /cut1 |  -5.326114   .5575242                     -6.418841   -4.233386
        /cut2 |  -3.629099   .5335074                     -4.674754   -2.583444
        /cut3 |  -1.330054   .5191175                     -2.347505   -.3126021
        /cut4 |   .9031879   .5386355                     -.1525184    1.958894
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 1.258e-21
P-value for cutoff 2: 1.029e-11
P-value for cutoff 3: .01040283
P-value for cutoff 4: .09358021

. 
. ologit approvemp drawn lrdist jelecmpshand likeMpParty ranked_member i.surveyyear if  minister==0 & lrdist>5 

Iteration 0:   log likelihood = -1090.4149  
Iteration 1:   log likelihood = -989.04445  
Iteration 2:   log likelihood = -985.26668  
Iteration 3:   log likelihood = -985.25565  
Iteration 4:   log likelihood = -985.25565  

Ordered logistic regression                     Number of obs     =        792
                                                LR chi2(8)        =     210.32
                                                Prob > chi2       =     0.0000
Log likelihood = -985.25565                     Pseudo R2         =     0.0964

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .1083498   .1280127     0.85   0.397    -.1425505    .3592502
       lrdist |   .0466348   .0493814     0.94   0.345    -.0501508    .1434205
 jelecmpshand |  -1.108304   .0981368   -11.29   0.000    -1.300649   -.9159598
  likeMpParty |   .1724402   .0285794     6.03   0.000     .1164255    .2284548
ranked_member |   .0821766   .2569791     0.32   0.749    -.4214933    .5858465
              |
   surveyyear |
        2002  |   .2232681   .1779663     1.25   0.210    -.1255394    .5720757
        2005  |  -.1142486   .1841901    -0.62   0.535    -.4752545    .2467573
        2011  |   .0049323   .2042963     0.02   0.981     -.395481    .4053457
--------------+----------------------------------------------------------------
        /cut1 |  -5.222481   .5537718                     -6.307854   -4.137109
        /cut2 |  -3.524331   .5298863                     -4.562889   -2.485773
        /cut3 |  -1.224031   .5159486                     -2.235272   -.2127907
        /cut4 |   1.011439   .5359449                     -.0389942    2.061871
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 4.072e-21
P-value for cutoff 2: 2.909e-11
P-value for cutoff 3: .01767342
P-value for cutoff 4: .05913259

. 
. ologit approvemp drawn unique attempts lrdist likeMpParty jelecmpshand ranked_member i.surveyyear  /// 
>  if  minister==0 & lrdist>5

Iteration 0:   log likelihood = -1090.4149  
Iteration 1:   log likelihood = -987.96502  
Iteration 2:   log likelihood = -984.11776  
Iteration 3:   log likelihood = -984.10647  
Iteration 4:   log likelihood = -984.10647  

Ordered logistic regression                     Number of obs     =        792
                                                LR chi2(10)       =     212.62
                                                Prob > chi2       =     0.0000
Log likelihood = -984.10647                     Pseudo R2         =     0.0975

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .3094439   .1921286     1.61   0.107    -.0671212    .6860089
       unique |  -.2463493   .1687248    -1.46   0.144    -.5770439    .0843452
     attempts |   .0221404   .0264903     0.84   0.403    -.0297796    .0740604
       lrdist |   .0466203   .0494611     0.94   0.346    -.0503216    .1435622
  likeMpParty |   .1698611   .0286496     5.93   0.000      .113709    .2260133
 jelecmpshand |  -1.108262   .0982531   -11.28   0.000    -1.300834   -.9156891
ranked_member |    .027941   .2609076     0.11   0.915    -.4834285    .5393105
              |
   surveyyear |
        2002  |   .2239973   .1785328     1.25   0.210    -.1259206    .5739151
        2005  |  -.1345585    .185863    -0.72   0.469    -.4988434    .2297264
        2011  |   .0094791   .2046853     0.05   0.963    -.3916967    .4106548
--------------+----------------------------------------------------------------
        /cut1 |  -5.286371   .5579868                     -6.380005   -4.192737
        /cut2 |  -3.585655   .5340841                     -4.632441    -2.53887
        /cut3 |  -1.280329   .5199307                     -2.299374   -.2612831
        /cut4 |   .9572756   .5398028                     -.1007185     2.01527
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 2.693e-21
P-value for cutoff 2: 1.898e-11
P-value for cutoff 3: .01379727
P-value for cutoff 4: .07616574

. 
. ologit approvemp drawn lrdist likeMpParty jelecmpshand ranked_member i.surveyyear  /// 
>  if attempts > 0 & lrdist>5

Iteration 0:   log likelihood = -547.80446  
Iteration 1:   log likelihood = -487.04083  
Iteration 2:   log likelihood = -483.96491  
Iteration 3:   log likelihood = -483.95313  
Iteration 4:   log likelihood = -483.95313  

Ordered logistic regression                     Number of obs     =        397
                                                LR chi2(8)        =     127.70
                                                Prob > chi2       =     0.0000
Log likelihood = -483.95313                     Pseudo R2         =     0.1166

-------------------------------------------------------------------------------
    approvemp |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
        drawn |   .1125132   .1562238     0.72   0.471    -.1936797    .4187061
       lrdist |   .0613166   .0716912     0.86   0.392    -.0791955    .2018288
  likeMpParty |   .2082319    .042306     4.92   0.000     .1253138    .2911501
 jelecmpshand |  -1.167471    .145762    -8.01   0.000    -1.453159   -.8817824
ranked_member |   .8505774   .3311576     2.57   0.010     .2015204    1.499634
              |
   surveyyear |
        2002  |   .0662381   .2730509     0.24   0.808    -.4689319     .601408
        2005  |  -.1309897   .2801262    -0.47   0.640    -.6800269    .4180475
        2011  |   .3355582   .2962267     1.13   0.257    -.2450355    .9161518
--------------+----------------------------------------------------------------
        /cut1 |   -5.22919   .8433214                     -6.882069    -3.57631
        /cut2 |  -3.394786   .8097459                     -4.981859   -1.807713
        /cut3 |  -1.078097   .7903506                     -2.627156    .4709615
        /cut4 |   1.276068   .8163662                     -.3239802    2.876116
-------------------------------------------------------------------------------

. forvalues i=1/4 {
  2.         di "P-value for cutoff `i': "2*normal(-abs(_b[/cut`i']/_se[/cut`i']))
  3.         }
P-value for cutoff 1: 5.621e-10
P-value for cutoff 2: .0000276
P-value for cutoff 3: .17254407
P-value for cutoff 4: .11802731

. 
. 
. ********************************************************************
. *** END: TABLE E17: Approval: Ideologically very far 
. ********************************************************************
. 
. 
. log close
      name:  <unnamed>
       log:  C:\Projects\Private Member Bills\PSRM Replication files\PSRM_replication.log
  log type:  text
 closed on:  22 Nov 2016, 00:06:56
------------------------------------------------------------------------------------------------------------------
